Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14127

ALLOWED_LOGIN_MISMATCH_SENDERS ignored in latest versions

$
0
0

==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian Wheezy 7
- Related log if you're reporting an issue:

Jun  1 16:39:32 srv1m3 postfix/smtpd[29912]: NOQUEUE: reject: RCPT from somewhere[88.888.888.888]: 554 5.7.1 <aaa@aaa.es>: Recipient address rejected: Sender login mismatch; from=<bbb@aaa.es> to=<aaa@aaa.es> proto=ESMTP helo=<localhost>
====

Hi,

Some time ago i had troubles with this but was fixed with ALLOWED_LOGIN_MISMATCH_SENDERS. Now i've updated to latest iRedadp (1.5.0) and is failing again.
I've a php aplication that send emails to a predefined direction as the user with another account, for example.

- The user a@domain.com use the php application to send a message requesting some material.
- The php app connect to smt server using as login an user called z@domain.com and try to send the email as a@domain.com to b@domain.com
- Of course z@domain.com is trying to send an email as a@domain.com then the server answers with a "Login Missmatch" but it's supposed is allowed for that address.

If this configuration on settings.py:

....
plugins = ["reject_null_sender", "reject_sender_login_mismatch", "amavisd_wblist", "sql_alias_access_policy", "sql_user_restrictions"]
....
ALLOWED_LOGIN_MISMATCH_SENDERS = ['z@domain.com', ...]
ALLOWED_LOGIN_MISMATCH_STRICTLY = False
....

How can i fix this problem

Thanks!!

PDTA: I forgot to say that now i'm using the 1.6.0 version because had troubles with 1.5.0 version.


Viewing all articles
Browse latest Browse all 14127

Trending Articles