Re: Usage of whitelist_from

2015-06-15 Thread Bowie Bailey

On 6/14/2015 5:40 AM, Bruno Costacurta wrote:


Quoting Benny Pedersen :


Reindl Harald skrev den 2015-06-13 21:29:

Am 13.06.2015 um 21:25 schrieb Bruno Costacurta:

I setup the following into /etc/spamassassin/local.cf

whitelist_from  *@postfix.org


why /etc/spamassassin/local.cf?
on most setups its /etc/mail/spamassassin/*.cf


its opensource, so anyone can create there own problem to resolve with

spamassassin -D --lint 2>&1 | less

on the other hand whitelist_from is a problem in its own


The location on file /etc/spamassassin/local.cf is correct.
On Debian config files are located in /etc/spamassassin/* and there is 
a symbolic link from /etc/mail/spamassassin to /etc/spamassassin.


spamassassin -D --lint 2>&1

returns :

..
Jun 14 11:33:11.542 [2459] dbg: util: final PATH set to: 
/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin
Jun 14 11:33:11.871 [2459] dbg: config: read file 
/etc/spamassassin/local.pre
Jun 14 11:33:11.873 [2459] dbg: config: read file 
/etc/spamassassin/local.cf

..

Obviously /etc/spamassassin/local.cf is read.


Did you restart spamd after making the change?

--
Bowie


Re: Usage of whitelist_from

2015-06-15 Thread RW
On Sat, 13 Jun 2015 21:25:02 +0200
Bruno Costacurta wrote:

> Hello,
> 
> I setup the following into /etc/spamassassin/local.cf
> 
> whitelist_from  *@postfix.org 
> 
> But this seems not working as apparently spamassassin still process  
> emails from *@postfix.org.

If you don't want SpamAssassin to process an email you have to
configure that in whatever glue passes the mail to
SpamAssassin, whitelist_from just causes a rule to hit with a large
negative score.

Your actual problem is that the rule isn't showing in the spamd debug.
If postfix.org isn't in the "From" header then SA needs to find it in
an appropriate envelope header. See the documentation for
whitelist_from in the SA configuration man-page.

 


Re: Must-Have Plugins?

2015-06-15 Thread Matus UHLAR - fantomas

On 10.06.15 04:34, Amir Caspi wrote:

To: Matus UHLAR - fantomas 
Cc: users@spamassassin.apache.org


pleaase, avoid personal mail. The list is for public discussion.


Subject: Re: Must-Have Plugins?

On Jun 10, 2015, at 12:32 AM, Matus UHLAR - fantomas  wrote:


FEATURE(`block_bad_helo')
define(`confALLOW_BOGUS_HELO', `False')


Argh, unfortunately, that feature is only on sendmail 8.14 and higher,
which means RHEL/CentOS 6 or higher.  For those of us running RHEL/CentOS
5, that's only available via a custom install.  =(


It was available before and I have used it as HACK()


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]