Smtp
Exim:帶有標註到 LMTP 伺服器的收件人驗證
我想讓 Exim 在處理 RCPT ACL 期間通過呼叫 LMTP 伺服器來執行收件人驗證。
我有以下路由器:
virtual_account: domains = +virtual_domains driver = accept transport = dovecot
和運輸:
dovecot: driver = lmtp socket = /var/run/dovecot/lmtp
當 ACL 處理到達以下語句時:
warn domains = +virtual_domains verify = recipient/callout
未嘗試標註:
$ exim -d -bhc 1.2.3.4 ... RCPT TO: test@example.com >>> using ACL "acl_check_rcpt" ... processing "warn" check domains = +virtual_domains cached yes match for +virtual_domains cached lookup data = example.com example.com in "+virtual_domains"? yes (matched "+virtual_domains" - cached) check verify = recipient/callout >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Verifying test@example.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Considering test@example.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> routing test@example.com ... --------> virtual_account router <-------- local_part=test domain=example.com checking domains cached yes match for +virtual_domains cached lookup data = example.com example.com in "+virtual_domains"? yes (matched "+virtual_domains" - cached) R: virtual_account for test@example.com calling virtual_account router virtual_account router called for test@example.com domain = example.com queued for dovecot transport: local_part = test domain = example.com errors_to=NULL domain_data=example.com localpart_data=NULL routed by virtual_account router envelope to: test@example.com transport: dovecot Cannot do callout: neither router nor transport provided a host list ----------- end verify ------------ warn: condition test succeeded in ACL "acl_check_rcpt"
我猜
lmtp
運輸無法進行標註,但我會很感激第二個意見。
AFAIR Exim 可以通過 Internet 套接字(您使用 Unix 套接字)通過 LMTP 進行收件人電子郵件驗證。
用於收件人存在驗證的 Exim LMTP 標註 - 該文件描述瞭如何使 Exim4 使用 exim 的 (LMTP) 標註實時檢查 Cyrus (IMAP) 郵箱的存在。
原始版本已在
http://anfi.homeunix.org/exim/rtvcyrus.html
.上面的連結指向存檔版本。