我將user的帳號全部建在OpenLDAP中,MTA使用Postfix並搭配Cyrus Imapd提供imap與pop的service,使用者都能正常收發email,唯獨使用alias寄email時會有問題,postfix會reply一封notice的信給寄件人,告訴我隸屬這個maillist的使用者有可能沒收到信,但是事實上user確都有收到信,請問有學長們遇過這個問題嗎?!!
- 代碼: 選擇全部
Postfix reply的內容如下:
This is the Postfix program at host mail.hrjhotel.com.tw.
I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The Postfix program
<xxxx@yyyy.com.tw> (expanded from <aaaa@yyyy.com.tw>): data format
error. Command output: : Mailbox does not exist
<zzzz@yyyy.com.tw> (expanded from <aaaa@yyyy.com.tw>): data format
error. Command output: : Mailbox does not exist
- 代碼: 選擇全部
main.cf的內容如下:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = mail.yyyy.com.tw
mydomain = yyyy.com.tw
myorigin = /etc/mailname
mydestination = yyyy.com.tw, mail.yyyy.com.tw, localhost.yyyy.com.tw, localhost
mynetworks = 192.168.1.13/24, 192.168.0.0/24, 192.168.2.0/24, 192.168.7.0/24, 127.0.0.0/8
relayhost =
alias_maps = hash:/etc/aliases,ldap:/etc/postfix/ldap-aliases.cf
alias_database = hash:/etc/aliases
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
local_transport = cyrus
lmtp_sasl_auth_enable = yes
lmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
lmtp_sasl_security_options =
lmtp_destination_concurrency_limit = 100
lmtp_destination_recipient_limit = 0
virtual_alias_maps = hash:/etc/postfix/virtual-aliases.cf