sendmail: command line alias expansion

Contributor Icon Contributed by Michilimackinac Date Icon January 13, 2004  
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)

Previous recipe | Next recipe |
 
blog comments powered by Disqus