主题: [已解决] Sender address rejected: not logged in 退信记录

张工  您好   
Unknown user: info@domain.com

RCPT TO generated following response:
553 5.7.1 <service@odomain.com>: Sender address rejected: not logged in

我确认建立了info 还有service这两个帐号 并且登录可以正常发送接受
这个是我用程序里面用info 这个账户往service账户里面发送邮件   可是报错了   这个 我确认程序里面的smtp认证密码正确  能帮分析一下 是什么其他原因造成的退信吗


具体退信如下
Unknown user: info@ourhost.com.cn

RCPT TO generated following response:
553 5.7.1 <service@domain.com>: Sender address rejected: not logged in



Original message follows.

Received: from S157 [11.22.33.44] by test.com.cn  with ESMTP
  (SMTPD-8.22) id A7A301B4; Mon, 26 Dec 2011 14:43:47 +0800
Subject: =?gb2312?Q?=C4=FA=C9=EA=C7=EB=B5=C4=B6=A9=B5=A5hd9009896=D2=D1=BE=AD=BF=AA=CD=A8?=
Sender: "=?gb2312?Q?=C9=F1=D6=DD=BA=EA=CD=F8?=" <service@ourhost.com.cn>
From: "=?gb2312?Q?=C9=F1=D6=DD=BA=EA=CD=F8?=" <service@ourhost.com.cn>
Date: Mon, 26 Dec 2011 14:43:41 +0800
To: "=?gb2312?Q?=D6=D0=BF=C6=CC=EC=B2=C5=A3=A8=B1=B1=BE=A9=A3=A9=BF=C6=BC=BC=D3=D0=CF=DE=B9=AB=CB=BE?=" <ZKTCBJ@163.COM>
CC: "=?gb2312?Q?LT090@163=2ECOM?=" <LT090@163.COM>
X-Priority: 3
X-MSMail-Priority: Normal
Content-Transfer-Encoding: Quoted-Printable
MIME-Version: 1.0
X-USER_IP: unknown
X-Mailer: JMail 4.2.0 by Dimac
Content-Type: text/plain;

2 最后由 circle_circle (2011-12-26 16:02:46) 编辑

回复: [已解决] Sender address rejected: not logged in 退信记录

Error: 554 5.5.1 Error: no valid recipients
The message was undeliverable. All servers failed to receive the message
ClientLogging enabled: Client Remote Address: unknown
.execute()
{
  Trying server mail:mail.domain.com
  <- 220 mail.domain.com ESMTP Postfix (Ubuntu)
  -> EHLO S157
  <- 250-mail.domain.com
250-PIPELINING
250-SIZE 15728640
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
  -> AUTH LOGIN
Sending authentication data..
  -> MAIL FROM:
  <- 250 2.1.0 Ok
  -> RCPT TO:
<- 553 5.7.1 : Sender address rejected: not owned by user service@domain.com
  -> RCPT TO:
<- 553 5.7.1 : Sender address rejected: not owned by user service@domain.com
  -> DATA
<- 554 5.5.1 Error: no valid recipients
Error: 554 5.5.1 Error: no valid recipients

这是具体的发送过程记录

回复: [已解决] Sender address rejected: not logged in 退信记录

O了
原来是邮件的sender 用户和发送地址用户要求一致
可以将main.cf 中的 smtpd_sender_restrictions  这个值  reject_sender_login_mismatch 去掉 reload postfix即可