On Oct 4, 2009, at 1:46 PM, Steve Fatula wrote:
We use Spamassassin via spamc/spamd via procmail. In the maillog
file, we see when there is spam, the message indicates a bunch of
information. raddr shows up always as 127.0.0.1, which is our course
our connection to SPAMD from our machine via procmail. Similarly,
rhost is our machine.
We are trying to tally up totals by sending IP of SPAM. So, none of
the log messages show sending IP when used in this environment.
How can we get spamd to log the sending ip? Alternatives?
Not sure how recent of a version you'll need but in at least 3.3 you
can write a plugin that calls $permsgstatus-
>set_spamd_result_item(<coderef>) to add anything to the spamd logline.
Check the Shortcuit plugin for an example.
Michael