2011/7/19 Hetz Ben Hamo <[email protected]>:
> Hi,
> I have a weird issue with /etc/aliases
> I've setup the root to send emails to my email ([email protected]) 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
> [email protected] (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 [email protected] - 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 | [email protected]

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to