숨은참조를 LDAP 주소에 접미사

숨은참조를 LDAP 주소에 접미사

저는 AD와 함께 Postfix를 사용하고 있으며 모든 이메일의 사본을 해당 관리자에게 보내고 싶습니다. 따라서 다음 항목이 있습니다.

cn: staff1
mail: [email protected]
manager: CN=Manager1,CN=Users,DC=company,DC=com

그리고 저는 Staff1과 주고받는 모든 이메일을 숨은참조로 보내길 원합니다.

cn: Manager1
mail: [email protected]
manager: CN=Director,CN=Users,DC=company,DC=com

모든 메일 관리자1은 숨은 참조를 수신하거나 전송합니다.

cn: Director
mail: [email protected]

어떻게 구현할 수 있나요? Always_bcc를 사용해야 합니까? 어떻게?

감사합니다

답변1

죄송합니다.. 이 질문을 게시한 후 잠시 후에 찾았습니다. 내 매니저 숨은참조 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

관련 정보