You're right. it sends everything to benhamo.org. I tried to send to a local
user (hetz) and it sends to h...@benhamo.org.

Any suggestion how to disable this?

Thanks,
Hetz

2011/7/19 Oleg Goldshmidt <p...@goldshmidt.org>

> 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
>


-- 

*חץ בן חמו
חץ-ביז
*השכרה ואירוח של שרתים פיזיים
מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora? Google
Voice? אם כן, היכנס לכאן <http://vps.net.bz/?p=406>.
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to