On various occasions, I've been asked to show the members of a system or user defined mail alias. To satisfy this request, I could have simply performed a more or cat on the local /etc/mail/aliases file. But I prefer to use the praliases command. Here's an example.
#praliases
If you create another mail alias, you will need to execute the newaliases command.
#vi /etc/mail/aliases
egalias:member1,member2, member3, member4
:wq!
#newaliases
#praliases
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment