Now we can send email from aliases but not from a mailing list.
The sender is member of the mailing list but the SQL query result is empty. See below for details.
Mar 18 13:13:41 mail iredapd --> Apply plugin: reject_sender_login_mismatch
Mar 18 13:13:41 mail iredapd Sender: [email protected], SASL username: [email protected]
Mar 18 13:13:41 mail iredapd Apply strict restriction (ALLOWED_LOGIN_MISMATCH_STRICTLY=True).
Mar 18 13:13:41 mail iredapd Apply list/alias member restriction (ALLOWED_LOGIN_MISMATCH_LIST_MEMBER=True).
Mar 18 13:13:41 mail iredapd [SQL] query per-user alias address: #012SELECT address#012 FROM forwardings#012 WHERE address='[email protected]' AND forwarding='[email protected]' AND is_alias=1#012 LIMIT 1
Mar 18 13:13:41 mail iredapd SQL query result: None
Mar 18 13:13:41 mail iredapd No per-user alias address found.
Mar 18 13:13:41 mail iredapd [SQL] query members of mail alias account ([email protected]): #012SELECT forwarding#012 FROM forwardings#012 WHERE address='[email protected]' AND forwarding='[email protected]' AND is_list=1#012 LIMIT 1
Mar 18 13:13:41 mail iredapd SQL query result: None
Mar 18 13:13:41 mail iredapd No such mail alias account.
Mar 18 13:13:41 mail iredapd <-- Result: REJECT Sender is not same as SMTP authenticate username
Mar 18 13:13:41 mail iredapd Session ended.
Mar 18 13:13:41 mail iredapd [123.123.123.123] RCPT, [email protected] => [email protected] -> [email protected], REJECT Sender is not same as SMTP authenticate username [[email protected], [email protected], client_name=xyz.ip, reverse_client_name=xyz.ip, helo=computer.localnet, encryption_protocol=TLSv1.3, encryption_cipher=TLS_AES_256_GCM_SHA384, server_port=587, process_time=0.0389s]
Mar 18 13:13:41 mail iredapd [SQL] Insert into smtp_sessions: #012 INSERT INTO smtp_sessions (#012 time, time_num,#012 action, reason, instance,#012 client_address, client_name, reverse_client_name, helo_name,#012 encryption_protocol, encryption_cipher,#012 server_address, server_port,#012 sender, sender_domain,#012 sasl_username, sasl_domain,#012 recipient, recipient_domain)#012 VALUES (#012 '2020-03-18 12:13:41', 1584533621,#012 'REJECT', 'Sender is not same as SMTP authenticate username', 'abcdef.123456.xyz',#012 '123.123.123.123', 'xyz.ip', 'xyz.ip', 'computer.localnet',#012 'TLSv1.3', 'TLS_AES_256_GCM_SHA384',#012 '321.321.321.231', '587',#012 '[email protected]', 'example.com',#012 '[email protected]', 'example.com',#012 '[email protected]', 'example.com')#012