postalias -q webmaster /etc/aliases

Category: Mail Servers & Postfix

postalias -q webmaster /etc/aliases

Look up one recipient in the aliases database

Asks whether a key like webmaster maps to a target in the compiled aliases file, printing the match and exiting zero when found. Useful for confirming a new alias compiled correctly. List every entry with the -s flag instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.