ExtMail服务器社区's Archiver

suzhan 发表于 2006-9-13 17:31

关于 recipient_bcc 与 sender_bcc 的使用

  recipient_bcc 可以做到,当信件的收件人为指定的人时,将邮件密抄给指定的人
  例:如需将发给[email]userA@abc.com[/email] 的邮件抄送一份给 [email]user1@xyz.net[/email]
  
  在/etc/postfix/ 下面加入一文件recipient_bcc
  文件内容如下:
  [email]userA@abc.com[/email] [email]user1@xyz.net[/email]

  在mail.cf 中加入
  recipient_bcc_maps = hash:/etc/postfix/recipient_bcc

  然后在终端执行postmap  /etc/postfix/recipient_bcc

  重启postfix 就OK了

  sender_bcc 可以做到当发件人为指定的人时,将邮件密抄给指定的人
  操作方法与上类似,不详说了

chifeng 发表于 2006-9-13 21:05

支持楼主!!!
还有一个always_bcc
:P

suzhan 发表于 2006-9-14 11:34

always_bcc 是指只要经postfix的都密抄一份给指定的邮箱,一般用于备份邮件,对否?

原文如下:
always_bcc (default: empty)

   Optional address that receives a "blind carbon copy" of each message that is received by the Postfix mail system.

   Note: if mail to the BCC address bounces it will be returned to the sender.

   Note: automatic BCC recipients are produced only for new mail. To avoid mailer loops, automatic BCC recipients are not generated for mail that Postfix forwards internally, nor for mail that Postfix generates itself.

suzhan 发表于 2006-9-15 16:03

老大, sender_bcc

同时抄送到二个邮箱里去,要如何做?

chifeng 发表于 2006-9-15 18:06

The BCC address (multiple results are not supported) is added when mail enters from outside of Postfix.

suzhan 发表于 2006-9-16 11:45

我用别名时,发现一封信它会BCC二次,不知什么原因?
sender_bcc.db
[email]a@abc.com[/email]  [email]group@abc.com[/email]

  [email]group@abc.com[/email]转向地址[email]1@abc.com[/email],[email]2@abc.com[/email]




其中一组的第一封信信头是这样
Return-Path: <[email]a@abc.com[/email]>
X-Original-To: [email]group@abc.com[/email]
Delivered-To: [email]1@abc.com[/email]
第二封信头是这样
Return-Path: <[email]a@abc.com[/email]>
X-Original-To: [email]1@abc.com[/email]
Delivered-To: [email]1@abc.com[/email]

好奇怪

suzhan 发表于 2006-9-18 15:45

[url]http://www.extmail.org/forum/viewthread.php?tid=2454[/url]

已解决

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.