verify recipient - temp error instead of perm error

Frank Richter via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
Hi,

in an acl_smtp_rcpt I’d like to deny if recipient’s domain doesn’t exist:

   deny  message = Recipient address unknown
         !verify  = recipient

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

To be able to check recipient’s domain  I configured this dnslookup router 
(there’s no other dnslookup router):

checkonly:
     driver = dnslookup
     domains = !+local_domains
     verify_only = true

This works so far. But if recipient’s domain doesn’t exist, exim gives a 
temp error:
451 Temporary local problem

How can I achieve that exim gives a '550 Unrouteable address'?
Any ideas?

Thanks,
Frank

-- 
Frank Richter, Chemnitz University of Technology, Germany


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