Expanding Aliases in Postfix

Posted January 18, 2004 by Michilimackinac in Postfix


Assuming an /etc/postfix/aliases file that looks like so:


postmaster: root
abuse: postmaster
root: kilroy

expand the aliases:


% postmap -q abuse `postconf -h alias_maps`
postmaster
% postmap -q postmaster `postconf -h alias_maps`
root
% postmap -q root `postconf -h alias_maps`
kilroy
%

Everything eventually goes to kilroy although postmap is expanding only the next alias.

The Conversation

Follow the reactions below and share your own thoughts.