expanding aliases in postfix

Contributor Icon Contributed by Michilimackinac Date Icon January 18, 2004  
Tag Icon Tagged: 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.

Previous recipe | Next recipe |
 
blog comments powered by Disqus