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 firstname.lastname@example.org 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 email@example.com domain1.com 21 Mar 16 09:23 .forward # cat .forward firstname.lastname@example.org
When a message comes in to email@example.com, rather than the system reading the .forward file and forwarding it over to firstname.lastname@example.org, the system just puts it in the mailbox for email@example.com 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: firstname.lastname@example.org>, size=388, class=0, nrcpts=1, msgid=45FAC486.email@example.com>, 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: firstname.lastname@example.org>, 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.