postfix bcc到ldap地址


0

我正在使用Postfix和AD,我想将每封电子邮件的副本发送给他们的经理。因此,我有这些条目:

cn: staff1
mail: staff1@company.com
manager: CN=Manager1,CN=Users,DC=company,DC=com

我希望每个电子邮件发送给员工1 bcc

cn: Manager1
mail: manager1@company.com
manager: CN=Director,CN=Users,DC=company,DC=com

并且每个邮件管理器1接收或发送密送

cn: Director
mail: director@company.com

我该如何实现呢?我必须使用always_bcc吗?怎么样?

谢谢

Answers:


0

对不起..发现这个问题后发现了一下。这是我的经理bcc cf

server_host = ad.company.com
search_base = cn=users,dc=company,dc=com
version = 3
scope = sub
query_filter = (userPrincipalName=%s)
result_attribute = mail
special_result_attribute = manager
bind = yes
bind_dn = cn=Administrator,cn=Users,dc=company,dc=com
bind_pw = xxxxxxxx
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.