Subject: Re: Postfix: Please review this tutorial
To: None <netbsd-docs@netbsd.org>
From: Florian Stoehr <netbsd@wolfnode.de>
List: netbsd-docs
Date: 04/25/2005 21:33:02
On Sat, 23 Apr 2005, James K. Lowden wrote:

> Florian Stoehr wrote:
>>
>> I took my personal Postfix notes and wrote a Postfix tutorial.
>>
>> The goal is to have a tutorial for setting up a real-life server
>> under NetBSD.
>
> I'd like to offer one other suggestion, in case you like it, too.  Taking
> a page out of pkgsrc, I keep /etc/postfix/Makefile:
>
> all: aliases.db virtual.db
>
> aliases.db: aliases
>        /usr/sbin/postalias aliases
>
> virtual.db: virtual
>        /usr/sbin/postmap virtual
>
> reload: aliases.db virtual.db
>        /etc/rc.d/postfix reload
>
> start: aliases.db virtual.db
>        /etc/rc.d/postfix start
>
> The advantage being that after changing something, I just say "make
> reload" and everything works.
>
> --jkl
>
>

Ah. Nice, I'll play with that, thanks

-Florian