Exim – Address Re-Write (Flattening Sub-Domain)
We had an interesting issue where our EXIM configuration was flattening a subdomain’s “From” address, i.e. it was re-writing an email’s From (HFrom) and MailFrom (return-path/envelope-from) headers to @domain.com addresses, i.e. to catch emails such as root@mymachine.domain.comand re-write the From (HFrom) and MailFrom (return-path/envelope-from) to root@domain.com instead. Problem was, this configuration wasn’t documented, so needed a bit of investigation; but is also a good learning point … Read more