首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 互联网 >

dovecot sieve 遇下转发的邮件自动回复无效的解决

2012-07-08 
dovecot sieve 遇上转发的邮件自动回复无效的解决现象: 当邮件是经过转发收到的则sieve的vacation自动回复

dovecot sieve 遇上转发的邮件自动回复无效的解决

现象: 当邮件是经过转发收到的则sieve的vacation自动回复功能失效,比如在mark@d1.com上做了转发,凡是发往这个地址的邮件都转发到mark@domain.tld上。

?

dovecot lda日志:

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参数变量,问题解决。

?

?

?

热点排行