wrong hostname in Return-Path with qmail-scanner (solution)
Posted: Fri Jan 17, 2014 5:17 am
Here's something interesting I learned which I thought I'd share.
If you use qmail-scanner and you change your server's hostname, you really must run qmail-scanner-reconfigure afterwards.
This is because qmails-canner hard-codes the hostname it finds at the point when it is installed, reinstalled or reconfigured into its code, and this hard-coded hostname is used in some circumstances.
In particular, if you use mailman, the return-path in emails generated by mailman will include the hard-coded hostname.
I hope this helps someone in the future.
If you use qmail-scanner and you change your server's hostname, you really must run qmail-scanner-reconfigure afterwards.
This is because qmails-canner hard-codes the hostname it finds at the point when it is installed, reinstalled or reconfigured into its code, and this hard-coded hostname is used in some circumstances.
In particular, if you use mailman, the return-path in emails generated by mailman will include the hard-coded hostname.
I hope this helps someone in the future.