歡迎您光臨本站 註冊首頁

postfix錯誤日誌user unknown. Command output: Invalid user specified

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

postfix錯誤日誌user unknown. Command output: Invalid user specified

現在郵箱發外域郵件可以送到
就是內域自己發自己都收不到郵件 ,收郵件的時候,日誌沒有報錯
發的時候日誌報錯如下:
Nov  6 11:38:23 rpgwg postfix/smtpd: connect from unknown
Nov  6 11:38:23 rpgwg authdaemond: received auth request, service=smtp, authtype=login
Nov  6 11:38:23 rpgwg authdaemond: authmysql: trying this module
Nov  6 11:38:23 rpgwg authdaemond: SQL query: SELECT username, password, "", 1001, 1001, concat('/var/mailbox/',homedir), concat('/var/mailbox/',maildir), "", name, "" FROM mailbox WHERE username = "[email protected]"
Nov  6 11:38:23 rpgwg authdaemond: password matches successfully
Nov  6 11:38:23 rpgwg authdaemond: authmysql: sysusername=<null>, sysuserid=1001, sysgroupid=1001, homedir=/var/mailbox/rpgwg.com/test, [email protected], fullname=<null>, maildir=/var/mailbox/rpgwg.com/test/Maildir/, quota=<null>, options=<null>
Nov  6 11:38:23 rpgwg authdaemond: authmysql: clearpasswd=<null>, passwd=$1$GIfZq7aR$pYpeunO4atcG4Udc.YsfJ/
Nov  6 11:38:23 rpgwg authdaemond: Authenticated: sysusername=<null>, sysuserid=1001, sysgroupid=1001, homedir=/var/mailbox/rpgwg.com/test, [email protected], fullname=<null>, maildir=/var/mailbox/rpgwg.com/test/Maildir/, quota=<null>, options=<null>
Nov  6 11:38:23 rpgwg authdaemond: Authenticated: clearpasswd=test, passwd=$1$GIfZq7aR$pYpeunO4atcG4Udc.YsfJ/
Nov  6 11:38:23 rpgwg postfix/smtpd: 1C0B0168803D: client=unknown, sasl_method=LOGIN, [email protected]
Nov  6 11:38:23 rpgwg postfix/cleanup: 1C0B0168803D: message-id=<[email protected]>
Nov  6 11:38:23 rpgwg postfix/qmgr: 1C0B0168803D: from=<[email protected]>, size=1739, nrcpt=1 (queue active)
Nov  6 11:38:23 rpgwg postfix/smtpd: disconnect from unknown
Nov  6 11:38:23 rpgwg postfix/pipe: 1C0B0168803D: to=<[email protected]>, relay=maildrop, delay=0.1, delays=0.07/0/0/0.03, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
Nov  6 11:38:23 rpgwg postfix/cleanup: 31D201688042: message-id=<[email protected]>
Nov  6 11:38:23 rpgwg postfix/qmgr: 31D201688042: from=<>, size=3464, nrcpt=1 (queue active)
Nov  6 11:38:23 rpgwg postfix/bounce: 1C0B0168803D: sender non-delivery notification: 31D201688042
Nov  6 11:38:23 rpgwg postfix/qmgr: 1C0B0168803D: removed
Nov  6 11:38:23 rpgwg postfix/pipe: 31D201688042: to=<[email protected]>, relay=maildrop, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
Nov  6 11:38:23 rpgwg postfix/qmgr: 31D201688042: removed老是提示無效用戶,這個問題怎麼解決啊!!
《解決方案》

mysql 設定好了嗎  帳號都查詢不到 你發什麽郵件啊?

自習檢查下mysql設定
《解決方案》

回復 2# woxizishen mysql> select * from mailbox \G
*************************** 1. row ***************************
        username: [email protected]
             uid: test
        password: $1$GIfZq7aR$pYpeunO4atcG4Udc.YsfJ/
        clearpwd:
            name:
        mailhost:
         maildir: rpgwg.com/test/Maildir/
         homedir: rpgwg.com/test
           quota: 5242880S
    netdiskquota: 5242880S
          domain: rpgwg.com
       uidnumber: 1001
       gidnumber: 1001
      createdate: 2013-11-06 10:28:38
      expiredate: 0000-00-00
          active: 1
disablepwdchange: 0
    disablesmtpd: 0
     disablesmtp: 0
  disablewebmail: 0
  disablenetdisk: 0
     disableimap: 1
     disablepop3: 0
        question:
          answer:
*************************** 2. row ***************************
        username: [email protected]
             uid: zj
        password: $1$EwZIksXQ$VOLE0HcKR1Dxf.ZafXzly/
        clearpwd:
            name:
        mailhost:
         maildir: rpgwg.com/zj/Maildir/
         homedir: rpgwg.com/zj
           quota: 5242880S
    netdiskquota: 5242880S
          domain: rpgwg.com
       uidnumber: 1001
       gidnumber: 1001
      createdate: 2013-11-06 10:28:46
      expiredate: 0000-00-00
          active: 1
disablepwdchange: 0
    disablesmtpd: 0
     disablesmtp: 0
  disablewebmail: 0
  disablenetdisk: 0
     disableimap: 1
     disablepop3: 0
        question:
          answer:
2 rows in set (0.00 sec)
《解決方案》

Nov  6 11:38:23 rpgwg postfix/pipe: 1C0B0168803D: to=<[email protected]>, relay=maildrop, delay=0.1, delays=0.07/0/0/0.03, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
告訴你了。無效啊。。。
《解決方案》

回復 4# wenhq


    為什麼會無效呢。我就是不知道,才來問啊
《解決方案》

http://stackoverflow.com/questions/18377813/postfix-status-bounced-unknown-user-myuser

refer this

[火星人 ] postfix錯誤日誌user unknown. Command output: Invalid user specified已經有800次圍觀

http://coctec.com/docs/service/show-post-11006.html