diff options
author | pacien | 2018-09-18 13:08:47 +0200 |
---|---|---|
committer | pacien | 2018-09-18 13:08:47 +0200 |
commit | 72009b91e1d6bb88925c9c8d2717305ed5725789 (patch) | |
tree | 28faeb46f6b7703088d810e656e930305b0725cc /conf.d | |
parent | 3e35ea89657d03a65e756954d544c062ab7d49a0 (diff) | |
download | exim-72009b91e1d6bb88925c9c8d2717305ed5725789.tar.gz |
Check for local user for local deliveries
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/030_routers.conf | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/conf.d/030_routers.conf b/conf.d/030_routers.conf index fdf6fd8..3028a5a 100644 --- a/conf.d/030_routers.conf +++ b/conf.d/030_routers.conf | |||
@@ -169,17 +169,12 @@ mail_aliases: | |||
169 | # cannot_route_message = Unknown user | 169 | # cannot_route_message = Unknown user |
170 | 170 | ||
171 | 171 | ||
172 | localuser_username: | 172 | localuser: |
173 | driver = redirect | ||
174 | redirect_router = localuser_mailbox | ||
175 | data = ${local_part} | ||
176 | |||
177 | |||
178 | localuser_mailbox: | ||
179 | transport = remote_lmtp | 173 | transport = remote_lmtp |
180 | domains = +local_domains | 174 | domains = +local_domains |
181 | driver = manualroute | 175 | driver = manualroute |
182 | route_data = ${lookup{$domain}lsearch*{LMTPMAP}} | 176 | route_data = ${lookup{$domain}lsearch*{LMTPMAP}} |
183 | self = send | 177 | self = send |
178 | check_local_user = yes | ||
184 | host_find_failed = ignore | 179 | host_find_failed = ignore |
185 | host_all_ignored = defer | 180 | host_all_ignored = defer |