Re: [exim] emails going down under

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Clement
Datum:  
To: John Clement, exim-users
Betreff: Re: [exim] emails going down under
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 name@???' 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:
>>
>>
>> [root@warfield johnc]# /usr/exim/bin/exim -bt jc@???
>> jc@???
>>    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 jc@???"?
>
> 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 firstname.lastname@???
firstname.lastname@???
  router = spamcheck_router, transport = spamcheck
# /usr/exim/bin/exim -oMr spam-scanned -bt 
firstname.lastname@???
f_lastname@???
    <-- f_lastname@???
    <-- firstname.lastname@???
    <-- firstname.lastname@???
  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:}@${domain:$header_from:}}{$local_part@$domain}}
{!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