P prox Well-Known Member Joined Sep 1, 2004 Messages 323 Reaction score 1 Location Joburg Apr 30, 2009 #1 Hi guys In which file is user created aliases saved? TIA
Tinuva The Magician Joined Feb 10, 2005 Messages 13,988 Reaction score 4,994 Location Virgo Super Cluster Apr 30, 2009 #2 Default location is: /etc/postfix/aliases which you need to convert to /etc/postfix/aliases.db using one of the utilities that comes along with postfix. I can't remember which one since I do not exactly make use of them myself.
Default location is: /etc/postfix/aliases which you need to convert to /etc/postfix/aliases.db using one of the utilities that comes along with postfix. I can't remember which one since I do not exactly make use of them myself.
C Curtix2 Senior Member Joined May 1, 2009 Messages 665 Reaction score 0 Location North Coast May 1, 2009 #3 Ive used webmin to admin my postfix servers for ages, makes this kinda stuff a breeze. Check it out.
K koffiejunkie Executive Member Joined Aug 23, 2004 Messages 9,754 Reaction score 998 Location Australia May 3, 2009 #4 In the default config it's /etc/aliases: Code: # postconf | grep alias_database alias_database = hash:/etc/aliases The command to rebuild /etc/aliases is: Code: # newaliases If it's /etc/postfix/alias[es], then you need to run: Code: # postmap hash:/etc/postfix/alias[es] You do not need to restart postfix - it will figure out the time stamp has changed, and reload the file all by itself.
In the default config it's /etc/aliases: Code: # postconf | grep alias_database alias_database = hash:/etc/aliases The command to rebuild /etc/aliases is: Code: # newaliases If it's /etc/postfix/alias[es], then you need to run: Code: # postmap hash:/etc/postfix/alias[es] You do not need to restart postfix - it will figure out the time stamp has changed, and reload the file all by itself.
P prox Well-Known Member Joined Sep 1, 2004 Messages 323 Reaction score 1 Location Joburg May 4, 2009 #5 Thanks very much all