我真的没有太多的邮件服务器经验,所以如果我的一些术语closures,请原谅我。
首先,这是我想要做的:
有几个组件我的问题。
邮差/ LDAP:
邮差
我认为将序列号添加到电子邮件主题是可能的,但我无法find任何信息。 有人可以帮我出来,或告诉我我应该谷歌?
将ML电子邮件保存在自定义目录中。 说实话,我并没有真正的看上去,而是一个快速的指针,告诉我它在哪里做的将有助于一堆。
后缀/达夫科特/ LDAP:
我知道我问了很多,但是如果人们能够回答这四个问题中的任何一个,或者告诉我,如果我在理解每个组件所扮演的angular色时犯了错误,那么这对我们来说会有帮助。
谢谢!
艾伦
假设你正在尝试将邮件路由到一个邮递员列表,这里有几个你可以适应的难题。 首先,一些LDAP:
# mailroute, system, mydomain.net dn: ou=mailroute,ou=system,dc=mydomain,dc=net objectClass: top objectClass: organizationalUnit ou: mailroute # forward0, mailroute, system, mydomain.net dn: cn=forward0,ou=mailroute,ou=system,dc=mydomain,dc=net objectClass: top objectClass: MailForwardOnly cn: forward0 MailAlternateAddress: [email protected] MailAlternateAddress: [email protected] MailAlternateAddress: [email protected] MailForwardingAddress: [email protected] displayName: RFC emails to system administrator
那么,一些Postfixconfiguration:
/etc/postfix/main.cf: relay_domains = lists.mydomain.net virtual_mailbox_domains = mydomain.net virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf /etc/postfix/transport: lists.mydomain.net mailman: /etc/postfix/ldap/virtual_mailbox_maps.cf: version = 3 server_host = ldaps://a.mydomain.net:636 search_base = ou=people,dc=mydomain,dc=net query_filter = (&(objectClass=*)(mail=%s)) result_attribute = uid bind = yes bind_dn = cn=postfix,ou=applications,ou=system,dc=mydomain,dc=net bind_pw = czczczcz