1

Topic: Sender address rejected: not logged in

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7.7
- Related log if you're reporting an issue: 553 5.7.1 <a@mydomain.com>: Sender address rejected: not logged in (in reply to RCPT TO command)
====

Hi all,

Let's say I have a mx1.mydomain.com and mx2.mydomain.com (both are iRedMail servers).

If I send an email from a@mydomain.com to b@mydomain.com using mx1.mydomain.com, the email will be delivered locally to b@mydomain.com.

But if the email come from another server, the email will be rejected with the following error :
553 5.7.1 <a@mydomain.com>: Sender address rejected: not logged in (in reply to RCPT TO command)

Where in Postfix or iRedMail can I specify the servers allowed to send emails from/to @mydomain.com ?

Best regards,
Romain

----

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 can list IP address of mx1 in Postfix parameter "mynetworks" on mx2. Also, list IP address of mx2 on mx1 server.

3

Re: Sender address rejected: not logged in

Thank you!