Re: SAEximRunCond Always return 1
Marc MERLIN <[email protected]> Thu, 19 Aug 2010 08:17:05 -0700
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 19, 2010 at 08:28:18AM +0200, Sil wrote: > Le 18/08/2010 17:41, Marc MERLIN a =E9crit : > > Define "local messages": sent of smtp to localhost, > Messages sent by smtp to localhost, for example cron messages sent to = > the local user. = Mail root should _not_ send via smtp to localhost, it should process internally. > > Does > > echo test | Mail -s test -v root > > generate a message that is scanned? > Yes and the message is redirected on my adresse by /etc/aliases > = > /etc/aliases > root: me > = > = > me@domain:~$ echo test | Mail -s test -v root > LOG: MAIN > SA: Debug: SAEximRunCond expand returned: '1' > LOG: MAIN > SA: Debug: check succeeded, running spamc > LOG: MAIN > SA: Action: scanned but message isn't spam: score=3D-98.0 required=3D5= .0 = > (scanned in 0/0 secs | Message-Id: [email protected]). From = > <[email protected]> (local) for [email protected] Ok, so '(local)' is good at least, it shows it was accepted locally, not via smtp. Wait, I looked at your Runcond again. Did you modify it yourself? You gave: SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-No-Run:}{Yes}} } {1}{0}} when it should likely be: SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$sender_host_address}{::1}} }{1}{0}} Marc -- = "A mouse is a device used to point at the xterm you want to type in" - A.S.= R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet coo= king Home page: http://marc.merlins.org/ =