On 6/26/2014 10:31 AM, ML mail wrote:
I am using the auto-whitelist feature of SpamAssassin stored into a
PostgreSQL database. It works fine but I have got one issue: as I am
calling SA from amavisd-new, the username stored in the AWL SQL table
is always "amavis". Now this renders my AWL useless as the username
should actually be the "From:" header field of an email.
So my question here really is: how do I get to log the "From:" as
uername and not the "amavis" username in my AWL table?
This is known as site-wide AWL because by default, you are using the
username that invokes the call to SA.
What I do is I use MIMEDefang and call spamc from MIMEDefang passing the
username based on code that I run to determine. Not exactly easy...
But the reason I'm posting is that many servers run sitewide AWL without
issue. Why do you feel it is useless?
Also, we're testing TxRep as a replacement to AWL in trunk if you want
to look at that.
Regards,
KAM