1 (edited by labyumoo23 2016-01-08 08:17:54)

Topic: Sender address rejected: not logged in [RCPT_TO]

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Centos 6.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):   apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Good day,

i received undelivered message to the sender notifying for undelivered message but email message was already recieved in the receiver of message. i am confuse to this error.


heres the scenario ----

reservations.crc@sfs.com.ph send message to zhaycruz@yahoo.com , zhaycruz@yahoo.com has a forward mail to rizalynn.cruz@sfs.com.ph..  is there something wrong with the forwarding... thanks for help..

-------- Original Message --------
Subject: Failure Notice
Date: Thursday, January 7, 2016 15:44 PHT
From: MAILER-DAEMON@yahoo.com
To: reservations.crc@sfs.com.ph 
 
 
Sorry, we were unable to deliver your message to the following address.

<rizalynn.cruz@sfs.com.ph>:
Remote host said:
553 5.7.1 <reservations.crc@sfs.com.ph>: Sender address rejected: not logged in  [RCPT_TO]

--- Below this line is a copy of the message.

Received: from [98.138.100.103] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jan 2016 07:43:53 -0000
Received: from [98.138.226.168] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jan 2016 07:43:53 -0000
Received: from [127.0.0.1] by omp1069.mail.ne1.yahoo.com with NNFMP; 07 Jan 2016 07:43:53 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 717760.14254.bm@omp1069.mail.ne1.yahoo.com
Received: by 98.138.105.247; Thu, 07 Jan 2016 07:43:53 +0000
X-Apparently-To: zhaycruz@yahoo.com; Thu, 07 Jan 2016 07:43:53 +0000
Return-Path: <reservations.crc@sfs.com.ph>
Received-SPF: none (domain of sfs.com.ph does not designate permitted sender hosts)
X-YMailISG: M1pORDMWLDvw3SrrrO_Dw4z9hizeDhCDkXGhU6zRPu3JwtFq
 IKR00WN630MFeG_N0HcgJ85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Jlqlxj1D8V8nrA
 B7QloyPGZ6VN_qrmfu4D0WPnrFJgd8iuhjqUFsvwoE2p1KE1q1W0AcmnS9G6
 rr0mMa6begS1VKobuMQvqbBS8Z.Kg3NfCRQoct4IZCgYyT.sUYpzbNAdlt8E
 .LAc161as_gRSkUl0WpSHtmEENdi5Q3GAK9e3QVRolrSwOpr3CyLF6ZtE.Zl
 x2iuCo8Ii1VZ4fprCal5Pv__Kp5J7HwC9ssjcVoUZ6makwSzlF7QrKSkLZXa
 NgcH5Sh8fe9uLNIygnfFYKKRhdWwUkxJrDFph0LpDho-
X-Originating-IP: [1X9.XX.1XX.1xx]
Authentication-Results: mta1095.mail.ne1.yahoo.com  from=sfs.com.ph; domainkeys=neutral (no sig);  from=sfs.com.ph; dkim=permerror (no key)
Received: from 127.0.0.1  (EHLO mail.sfs.com.ph) (1X9.XX.1XX.1xx)
  by mta1095.mail.ne1.yahoo.com with SMTPS; Thu, 07 Jan 2016 07:43:52 +0000
Received: from mail.sfs.com.ph (localhost [127.0.0.1])
    by mail.sfs.com.ph (Postfix) with ESMTP id 78C98B20922
    for <zhaycruz@yahoo.com>; Thu,  7 Jan 2016 15:48:12 +0800 (PHT)
Authentication-Results: mail.sfs.com.ph (amavisd-new); dkim=pass
    reason="pass (just generated, assumed good)" header.d=sfs.com.ph
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sfs.com.ph; h=
    content-transfer-encoding:user-agent:message-id:to:mime-version
    :subject:subject:date:date:content-type:content-type:from:from;
     s=dkim; t=1452152841; x=1453016842; bh=T66NlLQ6rlL0G7GUimsNxhn4
    z2A5isVCGvyc0BBDcQk=; b=CxYsv93cZyzoj0H+5RZU1BXBaHrOQ68GstPp88QJ
    y2fpaVNNJY92V3qI9aVVz+XAcnVNCrf5+VbrOR3v5iODvlMgdR+oMnpt2lLbKYrm
    NulhiiroNcx3xziRGec0dRQVE842rpTcl4QkqUlEyaVyOqaDP9PuhWNTBFpEv7a3
    VQWCMIBtM//NGdTP7hGQDstdjryFOTdqtQiHDMgKTN9KaRSnN2DBnwyK++TJyhUk
    esqGrQinLYf8xowRTpuDZR7Gg/sJSjgzSI/jZCJVR3qrTDxHQWbHQ/6dORVtT/p7
    mjRh2WPjdE0FvyCZEdSAcDunjay2xA9IhEVH4SIwNH46VQ==
X-Virus-Scanned: amavisd-new at mail.sfs.com.ph
Received: from mail.sfs.com.ph ([127.0.0.1])
    by mail.sfs.com.ph (mail.sfs.com.ph [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id tYl1psB29PHn for <zhaycruz@yahoo.com>;
    Thu,  7 Jan 2016 15:47:21 +0800 (PHT)
Received: from localhost (localhost [127.0.0.1])
    by mail.sfs.com.ph (Postfix) with ESMTP id A25EBB20920
    for <zhaycruz@yahoo.com>; Thu,  7 Jan 2016 15:47:21 +0800 (PHT)
from: "CRC Reservations" <reservations.crc@sfs.com.ph>
X-Forward: 1x2.x0.X1.x5x
content-type: text/plain; charset="utf-8"
date: Thu, 07 Jan 2016 15:47:21 +0800
subject: =?utf-8?q?Fwd=3A_Inquiry_-_FOR_ZHAY_THRU_EMAIL_ON_JAN=2E_7=2C_2016?=
MIME-Version: 1.0
to: zhaycruz@yahoo.com
message-id: <4e9a-568e1800-33-4926a100@133977093>
User-Agent: SOGoMail 2.3.0
content-transfer-encoding: quoted-printable
X-Yahoo-Forwarded: From zhaycruz@yahoo.com To rizalynn.cruz@sfs.com.ph
Content-Length: 820

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sender address rejected: not logged in [RCPT_TO]

Please show us related Postfix log (in /var/log/maillog), so that we can know the mail flow.

3

Re: Sender address rejected: not logged in [RCPT_TO]

ZhangHuangbin wrote:

Please show us related Postfix log (in /var/log/maillog), so that we can know the mail flow.



 nrcpt=1 (queue active)
Jan  7 15:47:57 mail postfix/smtpd[31008]: disconnect from unknown[209.85.160.170]
Jan  7 15:48:12 mail postfix/smtpd[31076]: connect from localhost[127.0.0.1]
Jan  7 15:48:12 mail postfix/smtpd[31076]: 78C98B20922: client=localhost[127.0.0.1]
Jan  7 15:48:12 mail postfix/cleanup[31015]: 78C98B20922: message-id=<4e9a-568e1800-33-4926a100@133977093>
Jan  7 15:48:12 mail postfix/qmgr[3705]: 78C98B20922: from=<reservations.crc@sfs.com.ph>, size=2678, nrcpt=1 (queue active)
Jan  7 15:48:12 mail postfix/smtpd[31076]: disconnect from localhost[127.0.0.1]
Jan  7 15:48:12 mail amavis[24285]: (24285-17) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:39141 <reservations.crc@sfs.com.ph> -> <zhaycruz@yahoo.com>, Queue-ID: A25EBB20920, Message-ID: <4e9a-568e1800-33-4926a100@133977093>, mail_id: tYl1psB29PHn, Hits: -1, size: 1443, queued_as: 78C98B20922, dkim_new=dkim:sfs.com.ph, 50805 ms
Jan  7 15:48:12 mail postfix/smtp[31020]: A25EBB20920: to=<zhaycruz@yahoo.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=51, delays=0.1/0/0.01/51, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 78C98B20922)
Jan  7 15:48:12 mail postfix/qmgr[3705]: A25EBB20920: removed
Jan  7 15:48:26 mail postfix/smtpd[31076]: connect from localhost[127.0.0.1]
Jan  7 15:48:26 mail postfix/smtpd[31076]: 8FBBFB20920: client=localhost[127.0.0.1]
Jan  7 15:48:26 mail postfix/cleanup[31015]: 8FBBFB20920: message-id=<20160107074826.8FBBFB20920@mail.sfs.com.ph>
Jan  7 15:48:26 mail postfix/smtpd[31076]: disconnect from localhost[127.0.0.1]
Jan  7 15:48:26 mail postfix/qmgr[3705]: 8FBBFB20920: from=<>, size=32493, nrcpt=1 (queue active)
Jan  7 15:48:26 mail amavis[25756]: (25756-19) Passed CLEAN {RelayedInternal}, LOCAL [106.10.151.82]:41674 [106.10.151.82] <> -> <reservations.crc@sfs.com.ph>, Queue-ID: BE003B20759, mail_id: A6Hno4FKtDxL, Hits: -1.819, size: 31763, queued_as: 8FBBFB20920, 31364 ms
Jan  7 15:48:26 mail postfix/smtp[31215]: BE003B20759: to=<reservations.crc@sfs.com.ph>, relay=127.0.0.1[127.0.0.1]:10024, delay=32, delays=0.56/0.01/0/31, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8FBBFB20920)
Jan  7 15:48:26 mail postfix/qmgr[3705]: BE003B20759: removed
Jan  7 15:48:26 mail postfix/pipe[31234]: 8FBBFB20920: to=<reservations.crc@sfs.com.ph>, relay=dovecot, delay=0.04, delays=0/0.01/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Jan  7 15:48:26 mail postfix/qmgr[3705]: 8FBBFB20920: removed
Jan  7 15:48:34 mail postfix/smtp[31077]: 78C98B20922: host mta6.am0.yahoodns.net[98.138.112.37] said: 421 4.7.0 [GL01] Message from (119.92.113.146) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html (in reply to MAIL FROM command)
Jan  7 15:48:34 mail postfix/smtp[31077]: 78C98B20922: lost connection with mta6.am0.yahoodns.net[98.138.112.37] while sending RCPT TO
Jan  7 15:48:38 mail postfix/smtp[31077]: 78C98B20922: to=<zhaycruz@yahoo.com>, relay=mta7.am0.yahoodns.net[98.138.112.38]:25, delay=26, delays=0.01/0/24/2, dsn=2.0.0, status=sent (250 ok dirdel)
Jan  7 15:48:38 mail postfix/qmgr[3705]: 78C98B20922: removed
Jan  7 15:48:59 mail postfix/smtpd[31181]: connect from nm10-vm2.bullet.mail.ne1.yahoo.com[98.138.90.158]
Jan  7 15:49:01 mail postfix/smtpd[31181]: NOQUEUE: reject: RCPT from nm10-vm2.bullet.mail.ne1.yahoo.com[98.138.90.158]: 553 5.7.1 <reservations.crc@sfs.com.ph>: Sender address rejected: not logged in; from=<reservations.crc@sfs.com.ph> to=<rizalynn.cruz@sfs.com.ph> proto=ESMTP helo=<nm10-vm2.bullet.mail.ne1.yahoo.com>
Jan  7 15:49:01 mail postfix/smtpd[31181]: D7D06B20759: client=nm10-vm2.bullet.mail.ne1.yahoo.com[98.138.90.158]
Jan  7 15:49:02 mail postfix/cleanup[31015]: D7D06B20759: message-id=<>
Jan  7 15:49:02 mail postfix/qmgr[3705]: D7D06B20759: from=<>, size=6280, nrcpt=1 (queue active)
Jan  7 15:49:03 mail postfix/smtpd[31181]: disconnect from nm10-vm2.bullet.mail.ne1.yahoo.com[98.138.90.158]
Jan  7 15:49:06 mail postfix/smtpd[31076]: connect from localhost[127.0.0.1]
Jan  7 15:49:06 mail postfix/smtpd[31076]: CC237B20920: client=localhost[127.0.0.1]
Jan  7 15:49:06 mail postfix/cleanup[31015]: CC237B20920: message-id=<4e9a-568e1780-31-4926a100@133977092>
Jan  7 15:49:06 mail postfix/smtpd[31076]: disconnect from localhost[127.0.0.1]

here is what i found in mailog..

4

Re: Sender address rejected: not logged in [RCPT_TO]

First of all, please open file /opt/iredapd/plugins/reject_null_sender.py, find below lines and REMOVE them:

    if not (sender or sasl_username):
        logging.debug('Spam (no sender address or sasl_username).')
        return SMTP_ACTIONS['reject']

Restart iredapd service and try again.

5

Re: Sender address rejected: not logged in [RCPT_TO]

ZhangHuangbin wrote:

First of all, please open file /opt/iredapd/plugins/reject_null_sender.py, find below lines and REMOVE them:

    if not (sender or sasl_username):
        logging.debug('Spam (no sender address or sasl_username).')
        return SMTP_ACTIONS['reject']

Restart iredapd service and try again.

hi Zhang,

can you please explain to me  what means in the code, and how it can affect my error message.. i'am trying to study every step and part in iredmail and understand everything to this mail.. sorry i am new to this.  thanks a lot again Zhang..