[exim] Queue instead of temporarily reject

Etusivu
Poista viesti
Vastaa
Lähettäjä: Thomas Hommers
Päiväys:  
Vastaanottaja: exim-users@exim.org
Aihe: [exim] Queue instead of temporarily reject
Hi,

I am having the following problem:

I've setup a manual route to forward all emails addresses to a certain domain to one host. This is working fine, except the dns of this host cannot be resolved. In this case the SMTP connection in temporarily rejected.

I would like to have the email accepted and queued instead of temporarily rejected.

Does somebody knows if this is possible?

>>>>


Here is the error message from the log:

2014-04-17 23:36:28 no IP address found for host smtp.myhost.com (during SMTP connection from (localhost) [1.2.3.4])
2014-04-17 23:36:28 H=(localhost) [1.2.3.4] F=<email@???> rejected RCPT email@???: lookup of host "smtp.myhost.com" failed in direct_route router

>>>>


And here is my configuration:

# Main configuration

acl_smtp_rcpt = acl_check_rcpt

# Routers

begin routers

direct_route:
  driver      = manualroute
  same_domain_copy_routing
  domains     = mydomain.com
  route_list  = mydomain.com  smtp.mydomain.com byname
  transport   = remote_smtp
  no_more


notlocal:
  driver    = dnslookup
  domains   = ! mydomain.com
  transport = remote_smtp


# Transports

begin transports

remote_smtp:
driver = smtp

# ACL

begin acl

acl_check_rcpt:
  deny       message       = Restricted characters in address
          domains       = mydomain.com
          local_parts   = ^[.] : ^.*[@%!/|]
  deny       message       = Restricted characters in address
          domains       = ! mydomain.com
          local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
  accept  authenticated = *
          control       = submission/sender_retain
  require message       = relay not permitted
          domains       = mydomain.com
  require verify        = recipient
  accept


>>>>


Thanks in advance for any help, suggestion or hint!

Regards
Thomas