Autor: Nico Erfurth Fecha: A: Marcus Huedepohl Cc: exim-users Asunto: Re: [Exim] receiver_verify problem
Marcus Huedepohl wrote: > Nico Erfurth wrote:
>
>>Marcus Huedepohl wrote:
>>
>>>spamcheck_director:
>>> condition = "${if eq {$received_protocol}{spam-scanned} {0}{1}}"
>>> driver = smartuser
>>> transport = spamcheck
>>> verify = yes
>>
>>This director accepts ANY recipient, so you should disable it for
>>verficication, just set verify = false instead of verify=yes, so it will
>>be skipped while verification.
>
>
> ah, i suspected this smartuser option which is meant as a "catchall". the
> problem is, that i don't want to do expensive spamchecks for mails that have
> invalid recipients. i have several forwardfile- and aliasfile-directors after
> the spamcheck.
Smartuser is just the driver, your "problem" is the condition, that
catches all, except mails that are inserted with spam-scanned as protocol.
verify = false just means "skip this director while verifying", so it's
ok to set it vor your spamcheck-director, this WILL prevent you from
accepting every recipient. Please read the documentation about
address-verification.
> maybe i can have a verify-only director _before_ the spamcheck:
>
> verify:
> verify = yes
>
> but i don't know which driver to use for this.
Exim will not run the transports while verification, it just checks "ok,
is it possible for me to deliver this recipient, after i accepted it".