Re: verify recipient - temp error instead of perm error

Evgeniy Berdnikov via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
  Hi.
  
On Tue, Aug 12, 2025 at 03:25:03PM +0200, Frank Richter via Exim-users wrote:
> in an acl_smtp_rcpt I’d like to deny if recipient’s domain doesn’t exist:
...
> I’ve a setup with some manualroute routers only, like
> 
> smarthost:
>   driver = manualroute
>   domains = !+local_domains
>   route_list = * smarthost.domain bydns
>   transport = smtp
>   verify = false
...
> This works so far. But if recipient’s domain doesn’t exist, exim gives a
> temp error:
> 451 Temporary local problem

 If you are using manualroute driver with "bydns", you can't exclude
 situations of temporaty DNS failure for valid and existing domains,
 including "ServFail" answer.
 
> How can I achieve that exim gives a '550 Unrouteable address'?

 You should NOT reject mails with 550 status on temporary DNS failures
 unless you consider occasional rejects/bounces as acceptable situation.
-- 
 Eugene Berdnikov

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.