Topic: Upgrade iRedAPd from 1.4.3 to latest 1.5.0
======== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): pgsql
- Web server (Apache or Nginx): apache
- Linux/BSD distribution name and version: debian 7
- Related log if you're reporting an issue:
====
Hi guys,
some time ago I tried to upgrade from 1.4.3 to 1.4.4 and had some problems and didn't have time to solve it... so I stayed with the 1.4.3... now I decided to upgrade to latest 1.5.0 and would use some help to solve my issues with this upgrade.
I'm seeing in the log following entries which doesn't seem to be correct:
2015-05-18 15:28:13 INFO [client.ip.address] RCPT, user1@domain.com -> user2@domain.com, REJECT Policy rejection not logged in
It's not just one client seeing this, there is more combinations of users in the same domain...
I found out, this reject is triggered by sender_login_mismatch plugin in function rectriction on line 136.
What I don't understand is the meaning of sender_is_forged variable... it gets set when sender_domain is equal to recipient_domain and according to the code this is enough to reject the email??? What's the logic behind this code?
Notes:
- I'm pretty sure the sender is authenticated and doesn't do any sender change (except change of case of letters in the email address),
- the domain is local one,
- it could be some issue with MUA not authenticating when sending to the same domain as the sender domain? (kind of trying to be smart)
- the email should be accepted even if the session wouldn't be authenticated as the domain is local?
Thanks a lot for help!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.