Best practices virtual hosts email naming setup

2020-06-09 Thread Robin Rowe
If I have a server with 2 virtual hosts, what is the best approach to naming the mail server for the second virtual host? Let's say my domains are virtual1.com and virtual2.com. Both the same IP. /etc/hosts: virtual1.com rDNS: virtual1.com What is the best mail server naming approach to use

Tracking down www-data email sender

2015-03-11 Thread Robin Rowe
Wondering how to track down some emails being sent from WordPress. I have mail.log entries that show www-data, that is, WordPress, is trying to send emails from an invalid subdomain. The machine did have this subdomain at some point, by the way. I turned on phpmail.log, but it doesn't give