> Independent of this I wouldn’t use r...@hostname.example.org as a sender > address to external recipients. This doesn’t look professional, makes > replying to those emails impossible and in case hostname.example.org doesn’t > have a public IP address it might also increase the risk that those messages > are treated as spam or rejected, because they are coming from an unresolvable > domain. > Many MTAs provide ways to rewrite sender addresses, so you could rewrite both > MAIL FROM and header From to someth...@example.org before delivering the > messages. This will resolve all questions about subdomains once and for all > and doesn’t even require any changes to the applications which create the > messages.
Agreed. Example: Depending on your unix config, you can do like I did and create /etc/mailutils.conf with this in it: address { email-domain xnnd.com; }; So that any `echo "notification" | mail aiver...@wombatmail.com` will come from u...@xnnd.com, not u...@server32.xnnd.com. Cheers, Al Iverson -- Al Iverson / Deliverability blogging at https://www.spamresource.com Subscribe to the weekly newsletter at https://ml.spamresource.com DNS Tools: https://xnnd.com / (312) 725-0130 / Chicago (Central Time) _______________________________________________ mailop mailing list mailop@mailop.org https://list.mailop.org/listinfo/mailop