From 72009b91e1d6bb88925c9c8d2717305ed5725789 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 18 Sep 2018 13:08:47 +0200 Subject: Check for local user for local deliveries --- conf.d/030_routers.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'conf.d/030_routers.conf') 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: # cannot_route_message = Unknown user -localuser_username: - driver = redirect - redirect_router = localuser_mailbox - data = ${local_part} - - -localuser_mailbox: +localuser: transport = remote_lmtp domains = +local_domains driver = manualroute route_data = ${lookup{$domain}lsearch*{LMTPMAP}} self = send + check_local_user = yes host_find_failed = ignore host_all_ignored = defer -- cgit v1.2.3