Forward emails to Gmail issue

gkorolis

New member
Joined
Jun 14, 2025
Messages
1
Hi,

I have an issue in the last 3 days. My forwarding rule from my domain email to a gmail account isn't working. In the logs i saw the bellow messages. Can anyone help to resolve this?

2025-06-14 21:12:28 1uQRR2-00006R-OR == [email protected] <[email protected]> R=lookuphost_forward_router T=remote_smtp_forward_transport defer (-1): Failed to expand return path "${srs_encode {hCrx7wPQpBB+ZY7kYjl0SZSEw6lgiaOTwMO3jhFNTSsRPgxVxwZGb0ZnW/Kpg3oG} {$return_path} {$original_domain}}": "${srs_encode" is not a known operator (or a } is missing in a variable reference)
 
{$return_path} {$original_domain}}": "${srs_encode" is not a known operator (or a } is missing in a variable reference)
This is most likely your issue.

If you're an admin then be aware the line:
Code:
return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
needs to be in the correct place.

Try to rebuild exim and exim.conf via custombuild.

If you're a customer, then you're on the wrong place, you have to ask your host for support in that case. This forum is only intended for support to Directadmin license holders (so admins).
If you are an admin, check the mentioned customisation.
 
Back
Top