On 2006-04-27 at 14:00 +0100, John Clement wrote:
> Phil Pennock wrote:
> > How about if you specify "exim -oMr spam-scanned -bt [EMAIL PROTECTED]"?
> >
> > Changing "spam-scanned" to whichever Received Protocol is actually used
> > to bypass the spamcheck Router in the configuration?
> >   
> Does it seem reasonable from the lines from exim.conf below that it is 
> actually 'spamcheck' it uses?  If so here are results:

spamcheck is the name of the transport.  The needed value was the
probable suspect, "spam-scanned".  It's this part:

>   condition = "${if and { {!eq {$received_protocol}{spam-scanned}} {!eq 
> {$received_protocol}{local}} {!eq {$received_protocol}{local-esmtp}} 
> {!eq {${domain:$header_from:}}{readingroom.com}} {!eq 
> {$sender_host_address}{127.0.0.1}} } {1}{0}}"

or "if this and that and the other thing, then run this router" where
"this" is "$received_protocol is NOT equal to spam-scanned" ("!eq").

So by specifying that the received_protocol _is_ that (via -oMr) you
skip this router and get to see the results from the later, real,
router:

> # /usr/exim/bin/exim -oMr spam-scanned -bt [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>     <-- [EMAIL PROTECTED]
>     <-- [EMAIL PROTECTED]
>     <-- [EMAIL PROTECTED]
>   router = localuser, transport = local_delivery

Regards,
-Phil

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to