[CentOS] Not receiving root mail

Mon Aug 22 12:41:57 UTC 2011
Scott Robbins <scottro at nyc.rr.com>

On Mon, Aug 22, 2011 at 01:12:54PM +0100, Always Learning wrote:
> 
> On Mon, 2011-08-22 at 13:07 +0100, Anne Wilson wrote:
> 
> > <anne at xxxx.org>: host mailhost.zen.co.uk[212.23.3.98] said:
> > 550-Verification
> >     failed for <anne at xxx.lan> 550-Unrouteable address 550 Envelope
> > Sender:
> >     Domain must resolve in DNS! (in reply to RCPT TO command)
> 
> Once your email is out on the Internet is needs a genuine Internet email
> address. xxx.lan is known only to your internal system and it is not an
> Internet email address.
> 
> Care to show the headers of your outgoing email ? (cover-up the bits you
> want to keep private)

If you're running postfix, you might want to also edit /etc/aliases.
The last line or so has a commented line, person who should get root's
mail.  (The name is marc, probably the person who first wrote it.)

After changing that, run newaliases /etc/alias to rebuild the
/etc/alias.db.

To answer your other question, alternatives is the command you asked
about in an earlier post

alternatives  --config mta

This will show you if you're using postfix or sendmail.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Spike: Where have you been pet? 
Drusilla: I went for a walk. I met an old man. I didn't like him,
he got stuck in my teeth.