小弟在Debian上使用postfix+sasl架設mail server,初步測試收發正常,但是最近發現在信件中夾帶壓縮檔案(rar,zip都是)寄出,對方收到檔案後無法正常解壓縮,有時對方收到後可以正常解壓縮(皆是同一檔案),時好時壞的,maillog中沒有任何的錯誤訊息,請問各位大大,發生了什麼事....感激不盡!!
main.cf:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
inet_interfaces = all
home_mailbox = Maildir/
myhostname = test.com
alias_maps = hash:/etc/aliases,hash:/usr/local/majordomo/majordomo.aliases
alias_database = hash:/etc/aliases,hash:/usr/local/majordomo/majordomo.aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost, localhost.domain
relayhost = testmx.com
mynetworks = 127.0.0.0/8, 192.168.1.0/24, 10.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
recipient_delimiter = +
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unknown_recipient_domain
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
broken_sasl_auth_clients = yes
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
html_directory = no
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix