Exim不validation用户

添加configuration位后:

deny message = invalid recipient domains = +local_domains !verify = recipient/callout=no_cache 

从: http ://wiki2.dovecot.org/LMTP/Exim运行更新exim4.conf和服务exim4重新启动

服务器仍然接受电子邮件给dovecot中不存在的收件人。

我正在使用LMTP在同一台机器上将邮件发送给dovecot。

有任何想法吗?

我通常做如下所述:

 domainlist local_domains = my.domain.com hostlist relay_from_hosts = 127.0.0.1 : 192.168.0.0/16 : 10.0.0.0/8 domainlist relay_to_domains = my.relay1.domain.com : my.relay2.domain.com ... begin acl ... acl_check_rcpt: ... # Allow authenticated users accept authenticated = * # Deny if sender isn't exist accept hosts = +relay_from_hosts : \ ${if exists{/etc/exim/host_whitelist} \ {/etc/exim/host_whitelist}{} } endpass message = sender mailbox not found verify = sender # Check if recipient exists in local and relay domains accept domains = +local_domains : +relay_to_domains endpass message = recipient mailbox not found verify = recipient # Deny all others (this is the last checking rule) deny message = relay not permitted acl_check_predata: ... 

我没有使用收件人检查传输和路由器部分。 它完美的作品。