You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Forrest Aldrich <fo...@gmail.com> on 2011/02/08 05:29:48 UTC

SA's logging via Milter to include IP

I'd like to change the way SA/Milter reports a rejected message.  
Namely, to include the IP address that was rejected in the Milter 
rejection line.  This will make it much easier to parse with scripting.  
Otherwise, you have to parse for the Milter reject, grab the (Sendmail, 
in my case) queue ID and then reparse for those lines and find an IP.

Suggestions?   I think a variable could be manually added to the error 
message, but I wonder if there is a better approach.


Thanks.