I can't seem to get the system to look at the .forward file in the user's home dir. I've checked the permissions of the .forward file and it seems fine too.
# pwd /home/domain1.com/homes/someguy # ls -lha total 20K drwxr-xr-x 4 email@example.com domain1.com 4.0K Mar 16 09:23 . drwxr-xr-x 4 domain1.com domain1.com 4.0K Feb 26 20:57 .. -rw-r--r-- 1 firstname.lastname@example.org domain1.com 21 Mar 16 09:23 .forward # cat .forward email@example.com
When a message comes in to firstname.lastname@example.org, rather than the system reading the .forward file and forwarding it over to email@example.com, the system just puts it in the mailbox for firstname.lastname@example.org as though the .forward file wasn't there.
The maillog isn't particularly helpful:
# grep l2GGNf6t011416 /var/log/maillog Mar 16 09:23:45 devel sendmail[]: l2GGNf6t011416: email@example.com>, size=388, class=0, nrcpts=1, msgid=45FAC486.firstname.lastname@example.org>, proto=ESMTP, daemon=MSA, relay=S010600090f409322.vs.shawcable.net [[xx.xxx.xx.xxx]] Mar 16 09:23:56 devel MailScanner[]: Logging message l2GGNf6t011416 to SQL Mar 16 09:23:56 devel MailScanner[]: l2GGNf6t011416: Logged to MailWatch SQL Mar 16 09:23:56 devel sendmail[]: l2GGNf6t011416: email@example.com>, delay=00:00:11, xdelay=00:00:00, mailer=local, pri=120388, dsn=2.0.0, stat=Sent
(** note the '<' signs have been removed from the log excerpt to comply with the Virtualmin forum software)
I'm not sure how to troubleshoot this issue.
I'm running Virtualmin, Usermin, Sendmail, etc. on Centos 4.4.