Topic: SMTP auth error
try to connect on 465
->mail.info
535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
xsasl_dovecot_handle_reply: auth reply: FAIL?4?user=temp@exemple.com
Works on Red Hat Enterprise Linux, CentOS, Debian, Ubuntu, FreeBSD, OpenBSD
You are not logged in. Please login or register.
iRedMail → iRedMail Support → SMTP auth error
try to connect on 465
->mail.info
535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
xsasl_dovecot_handle_reply: auth reply: FAIL?4?user=temp@exemple.com
- Which version of iRedMail do you use?
- Do you store mail accounts in MySQL or OpenLDAP?
- If it's MySQL, does your account have "enablesmtpsecured=1" in table "vmail.mailbox"?
- If it's OpenLDAP, does your account have attribute/value "enabledService=smtpsecured"?
- Which version of iRedMail do you use?
0.6.1
- Do you store mail accounts in MySQL or OpenLDAP?
OpenLDAP
If it's OpenLDAP, does your account have attribute/value "enabledService=smtpsecured"?
no
Now I'am try to add attribute/value "enabledService=smtpsecured" in OpenLDAP for my account
and its work? but how do it this to automatic in OpenLdap Scheme, then add a user in mail domain????
Sorry I was mistaken
Do you mean it works with 'enabledService=smtpsecured'?
NO
->mail.info
connect from unknown[95.78.149.215]
Mar 6 08:46:07 mail postfix/smtpd[19129]: setting up TLS connection from unknown[95.78.149.215]
Mar 6 08:46:07 mail postfix/smtpd[19129]: Anonymous TLS connection established from unknown[95.78.149.215]: TLSv1 with cipher AES256-SHA (256/256 bits)
Mar 6 08:46:07 mail postfix/smtpd[19129]: NOQUEUE: reject: RCPT from unknown[95.78.149.215]: 553 5.7.1 <some_in_ the@gmail.com>: Sender address rejected: not owned by user test@iRedMail_test.com; from=<some_in_ the@gmail.com> to=<test@iRedMail_test.com> proto=ESMTP helo=<[192.168.0.17]>
Mar 6 08:46:23 mail postfix/smtpd[19129]: disconnect from unknown[95.78.149.215]
why Anonymous TLS connection established
the type error
->mail.info
connect from unknown[95.78.149.215]
Mar 6 08:46:07 mail postfix/smtpd[19129]: setting up TLS connection from unknown[95.78.149.215]
Mar 6 08:46:07 mail postfix/smtpd[19129]: Anonymous TLS connection established from unknown[95.78.149.215]: TLSv1 with cipher AES256-SHA (256/256 bits)
Mar 6 08:46:07 mail postfix/smtpd[19129]: NOQUEUE: reject: RCPT from unknown[95.78.149.215]: 553 5.7.1 <some_in_ the@gmail.com>: Sender address rejected: not owned by user test@iRedMail_test.com; from=<some_in_ the@gmail.com@gmail.com> to=<test@iRedMail_test.com> proto=ESMTP helo=<[192.168.0.17]>
Mar 6 08:46:23 mail postfix/smtpd[19129]: disconnect from unknown[95.78.149.215]
was appear if in my client Thunderbird use connect to gmai.com and others, in options "smtp send server" i have
smtp gmail.com ->
Port: 465
Connection security: SSL / TLS
Authentication Method: Plain password
.........
and by default
smtp:iRedMail.test.com ->
Port: 465
Connection security: SSL / TLS
Authentication Method: Plain password
when I removed other than smtp:iRedMail.test.com
and send the message
Mar 6 09:44:32 mail postfix/smtpd[24514]: connect from unknown[95.78.149.215]
Mar 6 09:44:32 mail postfix/smtpd[24514]: setting up TLS connection from unknown[95.78.149.215]
Mar 6 09:44:32 mail postfix/smtpd[24514]: Anonymous TLS connection established from unknown[95.78.149.215]: TLSv1 with cipher AES256-SHA (256/256 bits)
Mar 6 09:44:33 mail postfix/smtpd[24514]: 301B674: client=unknown[95.78.149.215], sasl_method=PLAIN, sasl_username=test@iRedMail_test.com
Mar 6 09:44:33 mail postfix/smtpd[24514]: disconnect from unknown[95.78.149.215]
Mar 6 09:44:34 mail amavis[1679]: (01679-05) Passed CLEAN, LOCAL [95.78.149.215] [95.78.149.215] <test@iRedMail_test.com> -> <some_in_ the@gmail.com>, Message-ID: <4D73121C.3060508@test@iRedMail_test.com>, mail_id: EDR+80xVJvHR, Hits: -10, size: 555, queued_as: 09BC4B7, 741 ms
So,the Message is pass
<some_in_ the@gmail.com>: Sender address rejected: not owned by user test@iRedMail_test.com; from=<some_in_ the@gmail.com@gmail.com> to=<test@iRedMail_test.com>
Seems you sent mail with account "test@iRedMail_test.com", but specify sender as "some_in_the@gmail.com" in your MUA.
You can fix it in two ways (Either is ok):
- Remove 'reject_sender_login_mismatch' in postfix main.cf, restart postfix.
- Specify same sender as SMTP auth user.
ok, I try
iRedMail → iRedMail Support → SMTP auth error
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
Generated in 0.018 seconds (67% PHP - 33% DB) with 11 queries