Squirrelmail+Postfix 554 5.7.1 Relay access denied

Discussion in 'HOWTO-Related Questions' started by nikos, Jan 5, 2015.

  1. nikos

    nikos New Member

    Hi,

    I've used this tutorial: https://www.howtoforge.com/virtual-...-courier-mysql-and-squirrelmail-debian-wheezy to install .

    I've tried solutions I found on net and this forum but seems nothing works...

    Server is accepting mails but I can't send any (from SQUIRRELMAIL) cause of this error message. BlueMail from mobile is receiving/sending mails normally as this time.
    /var/log/mail.log
    Code:
    Jan  5 11:11:02 HOSTNAME imapd: LOGIN, [email protected], ip=[::1], port=[55497], protocol=IMAP
    Jan  5 11:11:02 HOSTNAME imapd: LOGOUT, [email protected], ip=[::1], headers=960, body=0, rcvd=296, sent=3016, time=0
    Jan  5 11:11:08 HOSTNAME postfix/smtpd[6276]: connect from localhost[::1]
    Jan  5 11:11:08 HOSTNAME postfix/smtpd[6276]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <outgoing mail>: Relay access denied; from=<[email protected]> to=<outgoing mail> proto=ESMTP helo=<[SERVER IP]>
    Jan  5 11:11:08 HOSTNAME postfix/smtpd[6276]: lost connection after RCPT from localhost[::1]
    Jan  5 11:11:08 HOSTNAME postfix/smtpd[6276]: disconnect from localhost[::1]
    Also my 2nd problem is that using a mail client it doesn't authenticate. Example from Thunderbird:
    Code:
    Jan  5 11:16:13 HOSTNAME imapd: Connection, ip=[::ffff:HOME IP]
    Jan  5 11:16:13 HOSTNAME imapd: Connection, ip=[::ffff:HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6430]: connect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6444]: connect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME imapd: LOGOUT, ip=[::ffff:HOME IP], rcvd=24, sent=464
    Jan  5 11:16:13 HOSTNAME imapd: LOGOUT, ip=[::ffff:HOME IP], rcvd=24, sent=464
    Jan  5 11:16:13 HOSTNAME imapd: Connection, ip=[::ffff:HOME IP]
    Jan  5 11:16:13 HOSTNAME imapd: Connection, ip=[::ffff:HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6430]: disconnect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6430]: connect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6444]: disconnect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6444]: connect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME imapd: LOGOUT, ip=[::ffff:HOME IP], rcvd=24, sent=464
    Jan  5 11:16:13 HOSTNAME imapd: LOGOUT, ip=[::ffff:HOME IP], rcvd=24, sent=464
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6430]: improper command pipelining after EHLO from REVERSE IP[HOME IP]: QUIT\r\n
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6430]: disconnect from REVERSE IP[HOME IP]
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6444]: improper command pipelining after EHLO from REVERSE IP[HOME IP]: QUIT\r\n
    Jan  5 11:16:13 HOSTNAME postfix/smtpd[6444]: disconnect from REVERSE IP[HOME IP]
    Jan  5 11:16:21 HOSTNAME imapd: Connection, ip=[::ffff:HOME IP]
    Jan  5 11:16:24 HOSTNAME imapd: Disconnected, ip=[::ffff:HOME IP], time=3

    The CORRECT log from blue mail (Authentication to add Account and receive/send mail):
    Code:
    Jan  5 11:22:13 HOSTNAME postfix/smtpd[6607]: warning: hostname REMOTE REVERSE does not resolve to address REMOTE IP: Name or service not known
    Jan  5 11:22:13 HOSTNAME postfix/smtpd[6607]: connect from unknown[REMOTE IP]
    Jan  5 11:22:14 HOSTNAME postfix/smtpd[6607]: 22B02860282: client=unknown[REMOTE IP], sasl_method=PLAIN, sasl_username=LOCAL MAIL
    Jan  5 11:22:14 HOSTNAME postfix/cleanup[6618]: 22B02860282: message-id=<[email protected]app.com>
    Jan  5 11:22:14 HOSTNAME postfix/qmgr[6137]: 22B02860282: from=<LOCAL MAIL>, size=1025, nrcpt=1 (queue active)
    Jan  5 11:22:14 HOSTNAME postfix/smtpd[6607]: disconnect from unknown[REMOTE IP]
    Jan  5 11:22:17 HOSTNAME postfix/smtpd[6624]: connect from localhost[127.0.0.1]
    Jan  5 11:22:17 HOSTNAME postfix/smtpd[6624]: A377E860287: client=localhost[127.0.0.1]
    Jan  5 11:22:17 HOSTNAME postfix/cleanup[6618]: A377E860287: message-id=<[email protected]app.com>
    Jan  5 11:22:17 HOSTNAME postfix/qmgr[6137]: A377E860287: from=<LOCAL MAIL>, size=1478, nrcpt=1 (queue active)
    Jan  5 11:22:17 HOSTNAME postfix/smtpd[6624]: disconnect from localhost[127.0.0.1]
    Jan  5 11:22:17 HOSTNAME amavis[26036]: (26036-07) Passed CLEAN {RelayedOpenRelay}, [REMOTE IP]:59334 [REMOTE IP] <LOCAL MAIL> -> <REMOTE MAIL>, Queue-ID: 22B02860282, Message-ID: <[email protected]>, mail_id: AUS7ubWwjP5o, Hits: -0.999, size: 1025, queued_as: A377E860287, 2961 ms
    Jan  5 11:22:17 HOSTNAME postfix/smtp[6619]: 22B02860282: to=<REMOTE MAIL>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.83/0.02/0.01/3, 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 A377E860287)
    Jan  5 11:22:17 HOSTNAME postfix/qmgr[6137]: 22B02860282: removed
    Jan  5 11:22:20 HOSTNAME postfix/smtp[6628]: A377E860287: to=<REMOTE MAIL>, relay=mta7.am0.yahoodns.net[98.136.217.202]:25, delay=2.4, delays=0.04/0.03/0.49/1.9, dsn=2.0.0, status=sent (250 ok dirdel)
    Jan  5 11:22:20 HOSTNAME postfix/qmgr[6137]: A377E860287: removed
     
    Last edited: Jan 5, 2015

Share This Page