现象: 当邮件是经过转发收到的则sieve的vacation自动回复功能失效,比如在mark@d1.com上做了转发,凡是发往这个地址的邮件都转发到mark@domain.tld上。
dovecot lda日志:
lda(mark@domain.tld): Info: sieve: msgid=<131954....@web92414.mail.cnh.yahoo.com>: discarding vacation response for message implicitly delivered to <mark@domain.tld>
意思是不能给自己自动回复。搜索结果是信封收件人和信头收件人不一致导致的:
This situation occurs when the message's To,CC,etc. headers do not contain the recipient address (from the envelope). This can be caused by a mailing list (to which it must not respond), but also by some translation in your mail setup. The former case is intended behavior, the latter is problematic. If your final recipient address does not match what is in the message's headers due to some translation step in the mail setup (e.g. aliasing), you have a problem.
http://www.mailinglistarchive.com/html/dovecot@dovecot.org/2011-08/msg00025.html
以及
The automatic replies aren't sent if any of the following is true:
Auto-Submitted: header exists with any value except "no"
Precedence: header exists with value "junk", "bulk" or "list"
The envelope sender
begins with "MAILER-DAEMON" (case-insensitive)
begins with "LISTSERV" (case-insensitive)
begins with "majordomo" (case-insensitive)
begins with "owner-" (case-sensitive)
contains the string "-request" anywhere within it (case-sensitive)
The envelope sender and envelope recipient are the same
The envelope recipient is not found in the message To:, Cc: or Bcc: fields.
http://wiki.dovecot.org/LDA/Sieve
根据上面链接中信息以及参考 man 8 pipe
,修改 postfix的master.cf配置如下:
flags=DRhuXO user=vmail:vmail argv=/usr/local/dovecot/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -m ${extension} -a ${original_recipient}
给dovecot LDA传递 -a参数变量,问题解决。
分享到:
相关推荐
WebMail邮件服务器搭建:postfix+dovecot+roundcube (原理加全操作-详细)
这两天尝试搭建了本地邮箱服务器,采用postfix+dovecot模式,网上有好多教程,但都是缺胳膊少腿,没一个完整的,下边就本人此次搭建过程做一个详细记录。
Linux centos7下使用postfix/dovecot搭建自己的SMTP邮件服务器测试代码
dovecot邮件服务器源码,相对postfix邮件服务器而言,其在更加侧重安全方面
apache、php、mysql、roundcubemail、mailscanner、clamav、dovecot、postfix 搭建postfix邮件服务器
Linux+postfix+extmail+dovecot打造基于web页面的邮件系统
RHEL 5.0 postfix dovecot openwebmail 邮件服务器 一、先卸载sendmain [root@ser ~]# yum remove sendmail 二、安装postfix ,dovecot,cyrus-sasl [root@ser ~]# yum -y install postfix [root@ser ~]# yum -y ...
筛除雷鸟的办公室外挂... 他们的原始项目页面为: 我们(修复了许多错误,使其可以与Thunderbird 17配合使用,并且可以确认它与Dovecot Sieve(2.1.7)配合使用。 它曾经并继续在MPL 1.1 / GPL 2.0 / LGPL 2.1下发布。
postfix+dovecot.rar
postfix-dovecot postfix-dovecot 和防病毒/反垃圾邮件
dovecot-2.2.31.tar.gz源码包,Linux系统邮件接收工具
linux操作系统搭建邮件服务器postfix+dovecot总结
Dovecot是Linux/UNIX类系统平台上的开源IMAP和POP3服务器Dovecot是Linux/UNIX类系统平台上的开源IMAP和POP3服务器
dovecot-2.0.16.tar.gz,官网下载的,配合postfix试用,实现客户端收发邮件
dovecot-1.3.4.tar.gz 使用与mail服务器
dovecot-2.0.21.tar.gz dovecot-2.0.21.tar.gz dovecot-2.0.21.tar.gz
dovecot-1.1.4 源码包,提供下载。
postfix dovecot建立邮件服务器,已经配置好可以跑通的
dovecot-1.1.4.tar.gz dovecot-1.1.4.tar.gz dovecot-1.1.4.tar.gz
postfix+dovecot+extmail配置文件