Fresh install - exim not working

Hi,

Fresh install on Ubuntu 22.04. I seem to be getting this in paniclog:

2023-09-07 04:52:56 1qdxkK-0027zS-6q == [email protected] [email protected] R=dnslookup T=remote_forwarded_smtp defer (-1): Failed to expand return path “${srs_encode {${readfile{/etc/exim4/srs.conf}}} {$return_path} {$original_domain}}”: empty address

No emails are coming in . What is this bit about? I have a file in /etc/exim4/srs.conf with a random string in

Any suggestions are much appreciated!

UPDATE: The weird thing, is that the same setup works fine on another server. Ubuntu 22.04, with a fresh install. Tested on one domain, and its fine

Cheers

Andy

Interesting. I do wonder if its actually an issue with outgoing emails sent via Perl. I do get this in paniclog on the other server:

2023-09-07 06:01:15 1qdpBQ-001KPs-2T == [email protected] [email protected] R=dnslookup T=remote_forwarded_smtp defer (-1): Failed to expand return path “${srs_encode {${readfile{/etc/exim4/srs.conf}}} {$return_path} {$original_domain}}”: empty address

Not really sure where to go with this now!

Ok - I think I found the problem. While the A/AAAA records were correctly updated, the MX was still pointing to the old server… duh! It seems good now :slight_smile: