[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED]update etc/aliases.db

Ernst-Magne Vindal wrote:

Hmm...found it, I just run newaliases and  /etc/init.d/postfix reload.

I use a little shell script (located in /usr/local/sbin):


echo "Updating Postfix configuration"
postmap /etc/postfix/relocated
postmap /etc/postfix/transport
postmap hash:/etc/postfix/sasl_passwd
postmap hash:/etc/postfix/helo_checks
postmap hash:/etc/postfix/sender_checks
postmap hash:/etc/postfix/client_checks
postfix reload

Whenever I update any of the components of my postfix configuration, I run this script. You can tailor it to your particular configuration very easily.


Roberto C. Sanchez

Reply to: