Phil Pennock wrote:
> On 2006-04-26 at 16:11 +0100, John Clement wrote:
>   
>> How do I go about tracing where his emails are going?  At the last place 
>> I worked if I typed 'exim -bt [EMAIL PROTECTED]' it would check through 
>> the aliases until it found where the mail actually gets delivered to, 
>> here though it seems that as long as the domain is valid and one of our 
>> local domains it just says its deliverable:
>>
>>
>> [EMAIL PROTECTED] johnc]# /usr/exim/bin/exim -bt [EMAIL PROTECTED]
>> [EMAIL PROTECTED]
>>    router = spamcheck_router, transport = spamcheck
>>     
>
> Looks as though the set-up routes mail to a spam-checking service, which
> probably then resubmits the mail with a specific Received Protocol
> value, to bypass the check.
>
> 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:

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

Thanks
> Regards,
> -Phil
>
>   
# Spam Assassin
spamcheck_router:
  driver = accept
  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}}"
  retry_use_local_part
  transport = spamcheck
# do not use this router when verifying a local-part at SMTP-time
  no_verify

# David: This one to catch mails To and From the same address and From 
readingroom.com (because not caught by above)
spamcheck_router2:
  driver = accept
  domains = readingroom.com
  condition = "${if and { {!eq {$received_protocol}{spam-scanned}} {!eq 
{$received_protocol}{local}} {!eq {$received_protocol}{local-esmtp}} {eq 
{${local_part:$header_from:[EMAIL PROTECTED]:$header_from:[EMAIL PROTECTED] 
{!eq {$sender_host_address}{127.0.0.1}} } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
# do not use this router when verifying a local-part at SMTP-time
  no_verify


-- 
## 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