作者 主題: 安裝Postifx+SASL+Courier-IMAP+Maildrop+MySQL+Spamassassin遇到問題  (閱讀 3470 次)

0 會員 與 1 訪客 正在閱讀本文。

alibaba.will

  • 可愛的小學生
  • *
  • 文章數: 8
    • 檢視個人資料
如題
好像是一直無法收信 :(
在/var/log/maillog裡看到的錯誤如下
Mar  9 21:05:42 mail update.virus.scanners: Found generic installed
Mar  9 21:05:42 mail update.virus.scanners: Running autoupdate for generic
Mar  9 21:05:42 mail postfix/pickup[12255]: BD60D22D80C1: uid=0 from=<root>
Mar  9 21:05:42 mail postfix/cleanup[12430]: BD60D22D80C1: message-id=<20070309130542.BD60D22D80C1@mail.test-domain.com>
Mar  9 21:05:42 mail postfix/qmgr[8385]: BD60D22D80C1: from=<root@mail.test-domain.com>, size=667, nrcpt=1 (queue active)
Mar  9 21:05:42 mail postfix/pipe[12437]: BD60D22D80C1: to=<root@mail.test-domain.com>, orig_to=<root>, relay=maildrop, delay=281, delays=281/0.01/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
Mar  9 21:05:42 mail postfix/cleanup[12430]: C726322D80C3: message-id=<20070309130542.C726322D80C3@mail.test-domain.com>
Mar  9 21:05:42 mail postfix/bounce[12440]: BD60D22D80C1: sender non-delivery notification: C726322D80C3
Mar  9 21:05:42 mail postfix/qmgr[8385]: C726322D80C3: from=<>, size=2484, nrcpt=1 (queue active)
Mar  9 21:05:42 mail postfix/qmgr[8385]: BD60D22D80C1: removed
Mar  9 21:05:42 mail postfix/pipe[12437]: C726322D80C3: to=<root@mail.test-domain.com>, relay=maildrop, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
Mar  9 21:05:42 mail postfix/qmgr[8385]: C726322D80C3: removed

其中的訊息(如下)到底是怎麼樣的問題呢
to=<root@mail.test-domain.com>, relay=maildrop, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
還請指正告知該如何解決!謝謝!謝謝!謝謝!

stevenyoo

  • 可愛的小學生
  • *
  • 文章數: 10
    • 檢視個人資料
to=<root@mail.test-domain.com>, relay=maildrop, delay=0.01, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
   个人感觉好像是 DNS 的问题

alibaba.will

  • 可愛的小學生
  • *
  • 文章數: 8
    • 檢視個人資料
原來如此
« 回覆 #2 於: 2007-03-12 12:02 »
我也是這樣想的...

paulso

  • 俺是博士!
  • *****
  • 文章數: 1966
    • 檢視個人資料
貼一貼 main.cf 出來吧, 不然大家不知道怎幫你
另外, 有什麼 virtual domain 已設定了?

alibaba.will

  • 可愛的小學生
  • *
  • 文章數: 8
    • 檢視個人資料
在/etc/postfix/main.cf的內容如下:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.test-domain.com
mydomain = test-domain.com
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = subnet
mynetworks = 10.10.10.0/24, 127.0.0.0/8, 192.168.1.0/24
relay_domains = $mydestination
alias_maps = mysql:/etc/postfix/mysql_aliases.cf
relocated_maps = mysql:/etc/postfix/mysql_relocated.cf
transport_maps = mysql:/etc/postfix/mysql_transport.cf
virtual_maps = mysql:/etc/postfix/mysql_virtual.cf
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/spool/maildir
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
header_checks = regexp:/etc/postfix/header_checks
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.5/samples
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
queue_run_delay = 5m
maximal_queue_lifetime = 6d
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
    check_client_access, hash:/etc/postfix/pop-before-smtp, check_relay_domains, check_recipient_access
    mysql:/etc/postfix/mysql_recipient.cf
smtpd_delay_reject = yes
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access mysql:/etc/postfix/mysql_client.cf
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql_sender.cf
virtual_mailbox_base = /var/mailbox/
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:1008
virtual_gid_maps = static:1008
local_transport = maildrop
mailbox_transport = maildrop
virtual_transport = maildrop
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
message_size_limit = 15000000
virtual_mailbox_limit = 512000000
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
content_filter = smtp-amavis:[127.0.0.1]:10024

其中virtual domain也有建置設定
對了,virtual domain可有這類的document呢(if chinese then better ^_^)
謝謝!
(因為是客戶的環境,所以domain改為test-domain)