expanding aliases in postfix

Contributor Icon Contributed by Michilimackinac  
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.

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -