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):

#!/bin/sh

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
newaliases
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

--
Roberto C. Sanchez
http://familiasanchez.net/~roberto


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to