- 论坛徽章:
- 0
|
OS RHEL 4u4
Postfix 2.3
Mailman 2.1.0
按照Mailman的官方文档安装的.在安装Mailman之前,我的邮件服务器是可以正常工作的.
但是目前的情况是Mailman的订阅等功能均正常,但是往这个域名由Mailman建立的邮件组发送邮件报告
unknown user: "hr@123.com.cn"
postfix的配置文件内容如下:
postconf -n
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 14336000
mydestination =
mydomain = 123.com.cn
myhostname = mail.123.com.cn
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = 123.com.cn
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP "Version not Available"
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 123.com.cn
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf,hash:/usr/local/mailman/data/virtual-mailman
virtual_gid_maps = static:1001
virtual_mailbox_base = /server/mailbox/
virtual_mailbox_domains = 123.com.cn
virtual_mailbox_limit = 20971520
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_transport = virtual //这里以前配置的是 maildrop
virtual_uid_maps = static:1001
cat mm_cfg.py
IMAGE_LOGOS = '/images/'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['123.com.cn']
#POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.123.com.cn','123.com.cn']
#add_virtualhost('mail.123.com.cn','123.com.cn')
DEFAULT_SERVER_LANGUAGE = 'zh_CN'
目前的问题是mailman并不会接收邮件.
已知Postfix和MLM之间的链接是通过别名文件.别名文件我已经配置了 hash:/usr/local/mailman/data/virtual-mailman 但是为什么postfix不会把邮件转给mailman?
难道要改master.cf? 增加一个mailman?就像ubutu的配置方式?但是我下的mailman里面没有postfix-to-mailman.py 这个脚本.
谢谢. |
|