1

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

----

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

2

Re: SMTP auth error

- 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"?

3

Re: SMTP auth error

- 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

4

Re: SMTP auth error

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????

5

Re: SMTP auth error

anapet wrote:

Now I'am try to add attribute/value "enabledService=smtpsecured" in OpenLDAP for my account
and its work?

Do you mean it works with 'enabledService=smtpsecured'?

6

Re: SMTP auth error

Sorry I was mistaken

7

Re: SMTP auth error

Do you mean it works with 'enabledService=smtpsecured'?
NO

8 (edited by anapet 2011-03-06 12:51:43)

Re: SMTP auth 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> 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]

9 (edited by anapet 2011-03-06 12:12:26)

Re: SMTP auth error

why Anonymous TLS connection established

10 (edited by anapet 2011-03-06 12:54:37)

Re: SMTP auth error

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

11

Re: SMTP auth error

anapet wrote:

<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.

12

Re: SMTP auth error

ok, I try