[SA-exim] I must be a moron.
Derrick 'dman' Hudson
dman at dman.ddts.net
Sat, 13 Jul 2002 14:13:15 -0500
---------------------- multipart/signed attachment
On Sat, Jul 13, 2002 at 11:53:33AM -0700, Lawrence Walton wrote:
| > 2) Make sure SA is enabled in spamassassin.conf (SAEximRunCond)
|=20
| SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_add=
ress}{127.0.0.1}} {!eq {$h_X-Disable-SA:}{yes}} {! def:h_X-Spam-Flag:} } {1=
}{0}}
So if you send it via SMTP to the loopback interface, it won't be run.
You didn't inject the test message that way, did you?
| > 3) Not that SAEximRunCond does not run SA against locally generated mai=
l by
| > default
|=20
| Pretty sure not.
Marc meant "Note". (I think) Your config will scan locally generated
mail. The {eq {$received_protocol} {local}} is the part he was
referring to.
| > 4) If none of this fixed your problem, post the output of
| > /var/log/exim/mainlog for a message you received from the internet
|=20
|=20
| 2002-07-13 11:43:52 17TRs0-0003bT-00 <=3D lawrence@the-penguin.otak.com H=
=3Dthe-penguin.otak.com [216.122.56.136] U=3Dmail P=3Desmtp S=3D5439 id=3D2=
0020713184337.GA8036@the-penguin.
| otak.com
| 2002-07-13 11:43:53 17TRs0-0003bT-00 =3D> larry.walton@otak.com R=3Dsend_=
to_gateway T=3Dremote_smtp H=3Dmessenger.otak.com [216.122.57.10]
| 2002-07-13 11:43:53 17TRs0-0003bT-00 Completed
|=20
| Is it because the host is acting as a router only?
You need the messages above that too. Eg (from sa-exim 2.0) :
2002-07-13 14:11:22 17TSIc-0007n7-00 SA: savemail condition expanded to fal=
se, not saving message to disk
2002-07-13 14:11:22 17TSIc-0007n7-00 SA: score hits=3D-13.4 required=3D5.2 =
(scanned in 0/0 secs)
2002-07-13 14:11:22 17TSIc-0007n7-00 <=3D sa-exim-bounces+dman=3Ddman.ddts.=
net@merlins.org H=3Dmoremagic.merlins.org (mail2.merlins.org) [204.80.101.2=
51] P=3Desmtp S=3D3530 id=3D20020713185856.GB23216@merlins.org
2002-07-13 14:11:23 17TSIc-0007n7-00 =3D> dman <dman@dman.ddts.net> R=3Dmai=
ldrop_filter T=3Dmaildrop_pipe S=3D3644
2002-07-13 14:11:23 17TSIc-0007n7-00 Completed
Notice the "SA:" lines above the "<=3D" line. If those are not present
in your log, then you don't have sa-exim actually installed.
Are you using the dlopen patch, or did you compile sa-exim directly
into your exim binary?
-D
--=20
Microsoft is to operating systems & security ....
.... what McDonald's is to gourmet coo=
king
=20
http://dman.ddts.net/~dman/
---------------------- multipart/signed attachment
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.merlins.org/archives/sa-exim/attachments/6711c540/attachment.bin
---------------------- multipart/signed attachment--