2011/7/19 Hetz Ben Hamo <het...@gmail.com>: > Hi, > I have a weird issue with /etc/aliases > I've setup the root to send emails to my email (h...@benhamo.org) and ran > the newaliases command to rebuild the aliases db file. > I've restarted sendmail. > > And yet, sendmail simply ignores this alias and tries to send emails to > r...@benhamo.org (which of course doesn't exists). > Any suggestions?
Well, the aliases file creates an alias to the local root. You say mails get sent to r...@benhamo.org - it sounds like this is NOT the local root but the (non-existent) root on the (possibly non-existent) remote host. Make sure your test mails are sent to the local root. Check what other rules get applied - e.g., maybe sendmail rewrites all the destination addresses with @benhamo.org or whatever. Make friends with sendmail -bt. What changed with the upgrade to CentOS 5.6? Were all the dbs rebuilt? -- Oleg Goldshmidt | p...@goldshmidt.org _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il