Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- H=some-relay.my-isp.example.org [a.b.c.d] X=TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128 CV=no F=<anywhere-else@example.org> rejected RCPT <server@example.com>: Unrouteable address
- #####################################################
- ### router/299_exim4-config_dovecot_router
- #####################################################
- ### router/299_exim4-config_dovecot_router
- #################################
- # This router delivers mail to any dovecot virtual
- # user who has a directory under /home/$domain/mail
- # Place after remote router and before localuser router
- # + addressing support requires uncommenting
- dovecot_router:
- driver = accept
- #local_part_suffix = +*
- #local_part_suffix_optional
- require_files = +/home/$domain/mail/$local_part/
- transport = dovecot_transport
- #####################################################
- ### end router/299_exim4-config_dovecot_router
- #####################################################
- #####################################################
- ### transport/40_exim4-config_dovecot_transport
- #####################################################
- # Transport to send any mail for virtual dovecot users to correct maildir box
- dovecot_transport:
- debug_print = "T: dovecot_virtual appendfile for $local_part@$domain"
- driver = appendfile
- create_directory
- directory_mode = 0750
- directory = /home/$domain/mail/$local_part
- maildir_format = true
- delivery_date_add
- envelope_to_add
- return_path_add
- user = $domain
- group = $domain
- mode = 0640
- mode_fail_narrower = false
- #####################################################
- ### end transport/40_exim4-config_dovecot_transport
- #####################################################
- # Authenticate against Dovecot
- dovecot_plain:
- driver = dovecot
- public_name = PLAIN
- server_socket = /var/run/dovecot/auth-client
- server_set_id = $auth1
- dovecot_login:
- driver = dovecot
- public_name = LOGIN
- server_socket = /var/run/dovecot/auth-client
- server_set_id = $auth1
- # exim -bt server@example.com
- server@example.com
- router = dovecot_router, transport = dovecot_transport
- # exim -bt server@example.com
- R: smarthost for server@example.com
- server@example.com
- router = smarthost, transport = remote_smtp_smarthost
- host mailhost.my-isp.example.org [a.b.c.d] port=587
- host mailhost.my-isp.example.org [a.b.c.e] port=587
Add Comment
Please, Sign In to add comment