Andrew Doughety wrote:
Hi,
We are trying to perform DNSBL checks on incoming mail and we are
not seeing any actual DNS queries. When looking at the code it seems
that the information on which IP(s) to check is obtained from
X-Originating and X-Apparently-From headers. Grepping through the code
I do not see these headers anywhere else. We are using Postfix as our
MTA, perhaps that is the problem? We could either write a postfix rule
or edit the SA code to check the Received header.
No need to edit any code. SpamAssassin already checks every appropriate IP.
Since you didn't provide any info about your SpamAssassin setup, I'll
just guess...
You're using spamd or some other daemonized version of SpamAssassin and
you don't have network tests enabled.
For spamd, remove the "-L" from your startup options. On RedHat based
systems you'll find this in /etc/sysconfig/spamassassin.
For other daemonized versions of SpamAssassin, there's a variable you'll
need to enable by setting it to 1 to enable network tests.
Daryl