On 05/17/2012 04:35 PM, Chris Hunt wrote:
I'm hoping to track scores by sender IP. Do any gurus know how I can
get the original sender's IP address into this log line?
May 17 04:08:19 mail01 spamd[20409]: spamd: result: . 2 -
AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_IMAGE_RATIO_02,HTML_MESSAGE,SPF_HELO_PASS,URIBL_WS_SURBL
scantime=0.9,size=9109,user=happy...@willapabay.org,uid=105,required_score=5.0,rhost=mail01-01.reachone.com,raddr=127.0.0.1,rport=36534,mid=<16780360.84...@patriotupdate.com>,bayes=0.500889,autolearn=no
Please note that since it's a Postfix milter, the spamd daemon sees
[remoteaddr] as 127.0.0.1:
May 17 16:27:38 mail1spamd[2187]: spamd: [...] [127.0.0.1] for
drsmo...@olynet.com:104 in 2.2 seconds, 2373 bytes.
I'm hoping custom spamassassin plugin is not the answer :)
TIA,
Chris
Can you get what you need from Postfix logs? Using Qmail here, and for
each message Qmail is logging a line that contains the score, subject,
sender IP & email addresses, recipient address.
Brent Gardner