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

Re: [SOLVED]update etc/aliases.db



On Sun, December 18, 2005 19:43, Roberto Sanchez said:
> 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
>
>

Very good, thanks.


-- 
/ernst-magne


Webmail @ vindal.com - Debian - Apache2
-----------------------------------------
Mailen er sendt med SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/



Reply to: