1 (edited by noob 2014-05-22 03:10:12)

Topic: Sender address rejected: not logged in

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version:  ubuntu 12.04
- Related log if you're reporting an issue: May 21 21:11:50 host postfix/smtpd[6265]: NOQUEUE: reject: RCPT from unknown[xx.xxx.xxx.xxx]: 553 5.7.1 <user@mail.com>: Sender address rejected: not logged in; from=<user@mail.com> to=<other_user@mail.com> proto=ESMTP helo=<[127.0.0.1]>
====

So it can receive mail but it can not send mail, i'm guessing it must make a second authentication on the email client for sending, right?

but on local network it can, i think because of this

 mynetworks = 127.0.0.0/8 192.168.0.0/24

right?

I removed permit_sasl_authenticated from smtpd_sender_restrictions and from smtpd_recipient_restrictions, but it did not worked, what should I modify?


LE: what if remove reject_sender_login_mismatch from
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch

what would be the risks?

----

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

You're doing it wrong, please reverse settings.

What you need to do is configuring your mail client applications (Outlook, Thunderbird, etc) to enable SMTP auth for sending email.

3 (edited by noob 2014-05-22 12:20:52)

Re: Sender address rejected: not logged in

ZhangHuangbin wrote:

You're doing it wrong, please reverse settings.

What you need to do is configuring your mail client applications (Outlook, Thunderbird, etc) to enable SMTP auth for sending email.

Ok, but my boss wants this, so what should i do(i explained some risks, but no)?

4

Re: Sender address rejected: not logged in

is it that hard to configure your (or your boss's?) mail client application to enable SMTP auth?

5 (edited by noob 2014-05-22 12:34:21)

Re: Sender address rejected: not logged in

ZhangHuangbin wrote:

is it that hard to configure your (or your boss's?) mail client application to enable SMTP auth?

No, but there are 20 users(in company or at home), tell me what should i modify in postfix, and i'll try very hard to convince him before i give up and do what he wants.