sendmail: command line alias expansion

Contributor Icon Contributed by Michilimackinac  
Tag Icon Tagged: Sendmail  

Expand an alias using the command line


sendmail -bv

so assuming an /etc/mail/aliases file that looks like this:

root: ricardo
postmaster: root

An example…


# sendmail -bv postmaster
ricardo… deliverable: mailer local, user ricardo

The command will expand postmaster to root to ricardo in this case sendmail does not tell you about any aliases in the middle (e.g. root in this example)

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -