1

Topic: ALLOWED_LOGIN_MISMATCH_LIST_MEMBER not working

Hello,

I've added users "sender@domain.kz" and "alias@domain.kz", then executed SQL-command (as described here: [I can't post links?])

INSERT INTO forwardings (address, forwarding,
                              domain, dest_domain,
                              is_alias, active)
                      VALUES ('sender@domain.kz', 'alias@domain.kz',
                              'domain.kz', 'domain.kz',
                              1, 1);

Then I edited

/opt/iredapd/settings.py

and added line

ALLOWED_LOGIN_MISMATCH_LIST_MEMBER=True

at the end of the file and restarted iredapd service

service iredapd restart

When trying to send mail from alias@optimus-kz.kz logged in as sender@domain.kz I'm still getting error "Sender is not same as SMTP authenticate username". What did I do wrong?

----

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

2

Re: ALLOWED_LOGIN_MISMATCH_LIST_MEMBER not working

Ok, I think I got this one. Confusion comes from two different pages on the topic in docs:

1) docs.iredmail.org/sql.create.mail.alias.html#create-mail-alias-account-with-sql-command-line

2) docs.iredmail.org/user.alias.address.html#sql-backend-manage-per-user-alias-addresses-with-sql-command-line

First one seems to have correct instructions. I should not add alias@domain.kz as a user, just add a row in "alias" table. Also in second one alias and sender seem to be mismatched in SQL example when inserting a row into "forwardings" table