Re: blacklist_from not working with SA version 3.4.0

2017-10-14 Thread Martin Gregorie
On Sat, 2017-10-14 at 14:45 +0100, RW wrote: > spamkiller looks to have been been written for use with fetchmail; > Indeed it was, and ran that way until I got pissed off with the bugs in fetchmail - especially the one that caused it to leave delivered mail on the remote server, never to be automat

Re: blacklist_from not working with SA version 3.4.0

2017-10-14 Thread RW
On Wed, 11 Oct 2017 20:45:10 -0700 Imam Toufique wrote: > Hi Martin, > > I have not had a chance to work on the problem yet, I was busy with > our stuff. I will test again with your suggestion later this week. I would suggest you look at other ways of doing this. Filing spam files into a dedica

Re: blacklist_from not working with SA version 3.4.0

2017-10-11 Thread Imam Toufique
Hi Martin, I have not had a chance to work on the problem yet, I was busy with our stuff. I will test again with your suggestion later this week. Thank you so very much for your help! On Wed, Oct 11, 2017 at 5:27 AM, Martin Gregorie wrote: > On Mon, 2017-10-09 at 17:24 -0700, Imam Toufique

Re: blacklist_from not working with SA version 3.4.0

2017-10-11 Thread Martin Gregorie
On Mon, 2017-10-09 at 17:24 -0700, Imam Toufique wrote: > > So, I followed the example and created my command below: >  > su fetchmail -s /bin/sh -c "/usr/bin/spamc | > /usr/local/bin/spamkiller > -c=/usr/bin/fetchmail -a -v -f /opt/RT/4.4.2/etc/fetchmailrc" >  > when I run the above, nothing seems

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Bill Cole
On 9 Oct 2017, at 13:42, Benny Pedersen wrote: more help ask on amavisd maillist Benny: he already said he was using spamc/spamd, which means amavisd isn't involved at all.

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Imam Toufique
Hi Martin, I installed spamkiller, looked at the man page, and found the following example: CMD="sendmail -i "$@" " spamc | spamkiller -c="$CMD" So, I followed the example and created my command below: su fetchmail -s /bin/sh -c "/usr/bin/spamc | /usr/local/bin/spamkiller -c=/usr/bin/fetchmail

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Imam Toufique
Thanks, Martin! I will try spamkiller tool. will update you all soon. thanks. On Mon, Oct 9, 2017 at 1:54 PM, Martin Gregorie wrote: > On Mon, 2017-10-09 at 12:19 -0700, Imam Toufique wrote: > > I am using getmail, that's where I added a filter for SA. Can > > procmail be used to quaranti

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Martin Gregorie
On Mon, 2017-10-09 at 12:19 -0700, Imam Toufique wrote: > I am using getmail, that's where I added a filter for SA. Can > procmail be used to quarantine spams flagged by SA? > You probably don't need procmail unless you want to provide individualised spam handling for each mail recipient. Procmail

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Imam Toufique
Hello everyone, Thank you all so much, it was very helpful for me to know so much about SA ;-) I learned a lot of all of you on SA that I had no idea about. Very much appreciated! Martin, I am using getmail, that's where I added a filter for SA. Can procmail be used to quarantine spams flagged

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Martin Gregorie
On Mon, 2017-10-09 at 10:25 -0700, Imam Toufique wrote: > But it is not deleting/discarding those mails.  I am > not sure how to do that.  Can you please tell me how to do that?  I > want all e-mails (in this example... ) from gmail.com to be > deleted/discarded as > soon as SA scans them. > SA do

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread John Hardin
On Mon, 9 Oct 2017, Imam Toufique wrote: Yes, I restarted spamd after changing blacklist entries. Actually, I think it it working, as it is changing the e-mail subject lines to "SPAM". But it is not deleting/discarding those mails. SA does not, itself, perform *delivery* of messages.

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread David Jones
On 10/09/2017 12:25 PM, Imam Toufique wrote: Hi, Yes, I restarted spamd after changing blacklist entries.  Actually, I think it it working, as it is changing the e-mail subject lines to "SPAM".  But it is not deleting/discarding those mails.  I am not sure how to do that.  Can you ple

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Benny Pedersen
Imam Toufique skrev den 2017-10-09 19:25: not sure how to do that. Can you please tell me how to do that? I want all e-mails (in this example... ) from gmail.com [2] to be deleted/discarded as soon as SA scans them. then add it to mta stage to reject *@gmail.com as sender, rejects is not wh

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread Imam Toufique
Hi, Yes, I restarted spamd after changing blacklist entries. Actually, I think it it working, as it is changing the e-mail subject lines to "SPAM". But it is not deleting/discarding those mails. I am not sure how to do that. Can you please tell me how to do that? I want all e-mails (i

Re: blacklist_from not working with SA version 3.4.0

2017-10-09 Thread RW
On Mon, 9 Oct 2017 00:49:33 -0700 Imam Toufique wrote: > Hello everyone, > > I am running SpamAssassin 3.4.0 in centOS 7, and I can't get > blacklist_from to work. ... > an external option in getmail. when I send mail from my gmail > account, spamc does not honor the rule as setup with "blackli

Re: blacklist_from with whitelist

2017-07-29 Thread David Jones
On 07/29/2017 01:45 AM, @lbutlr wrote: Would this work to blacklist mail with a "From: " claiming to be PayPal, but sent from fakedomain.tld? blacklist_from *@paypal.com whitelist_from_rcvd *@paypal.com paypal.com Yes. It should based on the priority: 60_shortcircuit.cf:priority USER_IN_W

Re: blacklist_from with whitelist

2017-07-29 Thread Matus UHLAR - fantomas
On 29.07.17 00:45, @lbutlr wrote: Would this work to blacklist mail with a "From: " claiming to be PayPal, but sent from fakedomain.tld? blacklist_from *@paypal.com whitelist_from_rcvd *@paypal.com paypal.com messages from paypal should be in blacklist and whitelist both. if that's what you m

Re: blacklist_from with whitelist

2017-07-29 Thread RW
On Sat, 29 Jul 2017 00:45:41 -0600 @lbutlr wrote: > Would this work to blacklist mail with a "From: " claiming to be > PayPal, but sent from fakedomain.tld? > > blacklist_from *@paypal.com > whitelist_from_rcvd *@paypal.com paypal.com Assuming that you mean from a server with fakedomain.tld rdns

Re: blacklist_from exceptions

2012-02-09 Thread Rejaine Monteiro
user_prefs won't work for me, because my server only filters messages and then redirects them to an internal server (so I don't have mailboxes here) . one solution that I posted it seemed to work fine. may not the better solution but this ok for what we need Em 09-02-2012 19:12, Benny Pedersen e

Re: blacklist_from exceptions

2012-02-09 Thread Benny Pedersen
Den 2012-02-09 17:59, Bowie Bailey skrev: It may work, but it solves the wrong problem. The problem is to blacklist the entire domain, but allow it through for one RECIPIENT. in that case it needs to be solved with a plugin or outside of spamassassin, if user_prefs is with more then one user

Re: blacklist_from exceptions

2012-02-09 Thread Bowie Bailey
On 2/8/2012 6:53 PM, Benny Pedersen wrote: > Den 2012-02-08 21:07, Rejaine Monteiro skrev: >> blacklist_from *@somedomain.com >> whitelist_to myu...@mydomain.com > when you use blacklist_from you must use unblacklist_from not > whitelist_to > > perldoc Mail::SpamAssassin::Conf > > everyone can wri

Re: blacklist_from exceptions

2012-02-08 Thread Benny Pedersen
header __FROM_BADDOMAIN From =~ /some\.com/i header __FROM_BADDOMAIN_GOOD_TO To =~ /myser\@mydomain\.com/i meta FROM_BADDOMAIN_UNBLACKLIST_TO (__FROM_BADDOMAIN && __FROM_BADDOMAIN_GOOD_TO) score FROM_BADDOMAIN_UNBLACKLIST_TO -100 not solved it blocks usernames some.com add :addr after From a

Re: blacklist_from exceptions

2012-02-08 Thread Benny Pedersen
Den 2012-02-08 21:07, Rejaine Monteiro skrev: blacklist_from *@somedomain.com whitelist_to myu...@mydomain.com when you use blacklist_from you must use unblacklist_from not whitelist_to perldoc Mail::SpamAssassin::Conf everyone can write email to a to addr and thus the whitelist is not wor

Re: blacklist_from exceptions

2012-02-08 Thread Bowie Bailey
On 2/8/2012 3:56 PM, Rejaine Monteiro wrote: > solved.. (maybe, I will do more tests ...) > > I made this way: > > blacklist_from @domain.com > > and then, i create a meta test , like this: > > header __FROM_BADDOMAIN From =~ /some\.com/i > header __FROM_BADDOMAIN_GOOD_TO To =~ /myser\@mydom

Re: blacklist_from exceptions

2012-02-08 Thread Rejaine Monteiro
got better keeping the original version, only using de meta test... (without blacklist_fom ) header __FROM_DOMAIN From =~ /some\.com/i header __FROM_DOMAIN_TO To =~ /myuser\@mydomain\.com/i meta FROM_DOMAIN_IN_BLACKLIST (__FROM_DOMAIN && ! __FROM_DOMAIN_TO) score FROM_DOMAIN_IN_BLACKLIST 100

Re: blacklist_from exceptions

2012-02-08 Thread Martin Gregorie
On Wed, 2012-02-08 at 18:07 -0200, Rejaine Monteiro wrote: > > It's not exactly what I need ... I'll try to be clearer (sorry by poor > english) > > I need something like this: blacklist a entire @somedomain but accept > when the *recipient * (not the sender) is certain user of *my* domain > I

Re: blacklist_from exceptions

2012-02-08 Thread Rejaine Monteiro
solved.. (maybe, I will do more tests ...) I made this way: blacklist_from @domain.com and then, i create a meta test , like this: header __FROM_BADDOMAIN From =~ /some\.com/i header __FROM_BADDOMAIN_GOOD_TO To =~ /myser\@mydomain\.com/i meta FROM_BADDOMAIN_UNBLACKLIST_TO (__FROM_BADDOMA

Re: blacklist_from exceptions

2012-02-08 Thread Bowie Bailey
On 2/8/2012 3:07 PM, Rejaine Monteiro wrote: > > It's not exactly what I need ... I'll try to be clearer (sorry by poor > english) > > I need something like this: blacklist a entire @somedomain but accept > when the *recipient * (not the sender) is certain user of *my* domain > > Or ... blacklis

Re: blacklist_from exceptions

2012-02-08 Thread Rejaine Monteiro
It's not exactly what I need ... I'll try to be clearer (sorry by poor english) I need something like this: blacklist a entire @somedomain but accept when the *recipient * (not the sender) is certain user of *my* domain Or ... blacklist_from *@somedomain.com except when destination is myuse

Re: blacklist_from exceptions

2012-02-02 Thread Benny Pedersen
On Thu, 02 Feb 2012 16:51:51 -0200, Rejaine Monteiro wrote: Example: blacklist_from @orig.com except when rcpt_to is myb...@mydomain.com freemail_domain example.org freemail_whitelist non-spam-u...@example.org untested, but its what i think is the nearest to what you asked

Re: blacklist_from exceptions

2012-02-02 Thread Robert Schetterer
Am 02.02.2012 19:51, schrieb Rejaine Monteiro: > Hi list, > > Is there any way to block an entire domain, except for a particular > recipient? > Example: blacklist_from @orig.com except when rcpt_to is > myb...@mydomain.com without read the faqs again blacklist the domain, and whitelist one rec

Re: blacklist_from

2009-03-04 Thread Yet Another Ninja
On 3/4/2009 10:18 AM, Matus UHLAR - fantomas wrote: On 04.03.09 10:10, Geert Batsleer wrote: I'm trying to blacklist email frcm '*Vegas Club Casino' *Hi wich is being sent from different email adressess but always with the same 'From' in the header. Tried putting it in local.cf as blacklist_

Re: blacklist_from

2009-03-04 Thread Matus UHLAR - fantomas
On 04.03.09 10:10, Geert Batsleer wrote: > I'm trying to blacklist email frcm '*Vegas Club Casino' *Hi wich is being > sent from different email adressess but always with the same 'From' in the > header. > > Tried putting it in local.cf as blacklist_from Vegas Club Casino > but those mails keep