We send the mails to be sent outwards on our server via exim using RollerNET's service.
However, there are e-mail forwarding on some domains on our server, incoming mails can be forwarded to personal e-mail addresses such as multiple gmail, hotmail, etc. as in the example.
For example;
Any mail sent to abc@abc.com
abc@abc.com -> 123@123.com,xyz@xyz.com
But I see that these forwarded mails are rejected by RollerNet due to "MAIL From sender". See the example below;
Code: Select all
2023-10-14 15:05:22 1qreKO-0006DC-0Q ** xxx@gmail.com <emrah@abc.com> F=<xion@qwerty.com> R=smart_route_forward T=auth_relay_forward H=smtpauth.rollernet.us [208.79.240.5] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes: SMTP error from remote mail server after RCPT TO:<ogfuri@gmail.com>: 550 5.1.7 <SRS0=fa08=f4=qwerty.com=xion@abc.com>: Sender address rejected: undeliverable address: Unable to accept MAIL FROM sender. Please read https://acc.rollernet.us/help/mail/outbound.php#restrictions
As far as I see here, RollerNET cannot detect SRS supported forwarding mails and does not accept these mails.
Code: Select all
<SRS0=fa08=f4=emrahciftcibasi.com=xion@ciftcibasi.com>: Sender address rejected: undeliverable address: Unable to accept MAIL FROM sender.
Code: Select all
return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
Do you have any suggestions for making this work here?
My exim configuration file;
Code: Select all
Exim version 4.96.1 #2 built 14-Oct-2023 12:29:36
Code: Select all
auth_relay_forward:
driver = smtp
port = 25
hosts_require_auth = $host_address
hosts_require_tls = $host_address
headers_add = "${if def:authenticated_id{X-Authenticated-Id: ${{authenticated_id}}}}"
interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips}}}}
helo_data = ${if exists{/etc/virtual/helo_data}{${lookup{$sending_ip_address}iplsearch{/etc/virtual/helo_data}{$value}{$primary_hostname}}}{$primary_hostname}}
hosts_try_chunking =
hosts_try_fastopen =
max_rcpt = 1
return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
.include_if_exists /etc/exim.dkim.conf
/etc/exim.routers.pre.conf
Code: Select all
smart_route_forward:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = ${if !eq{$original_domain}{$domain}}
condition = ${if !eq{$original_domain}{}}
condition = "${perl{check_limits}}"
transport = auth_relay_forward
route_list = * smtpauth.rollernet.us:587
no_more
smart_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = auth_relay
route_list = * smtpauth.rollernet.us:587
no_more