Hello,
The mail archive brakes SRS in cpanel 94 and 96.
I have tested this on clean cpanel 96 installation with only changes to exim/tweak settings configuration to enable SRS and mail archiving.
It seems to be caused by behaviour change of exim 4.94 or incorrectly pack/unpack address_data in archive routing which has been changed since cpanel 86 where SRS works well with mail archive.
When mail archiving in user cpanel is disabled, SRS works correctly.
Log fragment:
The mail archive brakes SRS in cpanel 94 and 96.
I have tested this on clean cpanel 96 installation with only changes to exim/tweak settings configuration to enable SRS and mail archiving.
It seems to be caused by behaviour change of exim 4.94 or incorrectly pack/unpack address_data in archive routing which has been changed since cpanel 86 where SRS works well with mail archive.
When mail archiving in user cpanel is disabled, SRS works correctly.
Log fragment:
Code:
2021-06-14 12:03:36 1lsjRL-00079P-EF H=SENDER_HOST [SENDER_IP]:40902 Warning: "SpamAssassin as USERNAME detected message as NOT spam (0.8)"
2021-06-14 12:03:36 1lsjRL-00079P-EF <= [email protected] H=SENDER_HOST [SENDER_IP]:40902 P=esmtps X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no S=2800 [email protected]_DOMAIN T="Testing" for RCPT_ADDR
2021-06-14 12:03:36 1lsjRL-00079P-EF check_mail_permissions could not determine the sender domain [routed_domain=FWD_DOMAIN message_exim_id=1lsjRL-00079P-EF sender_host_address=SENDER_IP recipients_count=1]
2021-06-14 12:03:36 1lsjRL-00079P-EF => test (RCPT_ADDR) <RCPT_ADDR> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <RCPT_ADDR> +PYFLHgpx2CLawAAUroaJQ Saved"
2021-06-14 12:03:36 1lsjRL-00079P-EF => test (FWD_ADDR, RCPT_ADDR, RCPT_ADDR) <RCPT_ADDR> SRS=<[email protected]_DOMAIN> R=archive_outgoing_email T=archiver_outgoing
2021-06-14 12:03:36 1lsjRL-00079P-EF => test <RCPT_ADDR> R=archive_incoming_email_domain_method T=archiver_incoming_domain_method
2021-06-14 12:03:36 1lsjRL-00079P-EF ** FWD_ADDR (FWD_ADDR, RCPT_ADDR, RCPT_ADDR) <RCPT_ADDR> R=dkim_lookuphost T=dkim_remote_smtp H=FWD_DOMAIN [FWD_IP] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes: SMTP error from remote mail server after pipelined MAIL FROM:<[email protected]> SIZE=3887: 550 [SPF] RCPT_IP is not allowed to send mail from SENDER_DOMAIN
2021-06-14 12:03:36 1lsjRL-00079P-EF Completed