On Fri, 2009-09-11 at 01:07 -0700, franc wrote:
> 
> rich...@buzzhost.co.uk wrote:
> > 
> > To do this, somewhere near the end of your main.cf:
> > header_checks = regexp:/etc/postfix/header_checks
> > 
> > File /etc/postfix/header_checks looks like this:
> > /^From:.*whoe...@aol.com/ REJECT sender blacklisted
> > 
> > Postfix reload
> > 
> 
> Thank you, does this mean that there is no way to configure spamassassin
> himself?
> Is spamassassin configured only indirectly by postfix (and amavis)?
> I don't understand this.

I'm sure there *is* a way, but don't get caught on the *actual*
sender-v-the envelope sender. I have *not* tried this myself but a
myblacklist.cf file like this;

blacklist_from  *...@aol.com
blacklist_from  drop.t...@aol.com

checked for errors using the command:
spamassassin --lint

give you any clues at all?

I drop mine in Postfix as it saves clock cycles, but I'm sure
Spamassassin will happily do this - I'm going to test it now :-)

Reply via email to