Subject: Re: replacing sendmail with postfix (summary)
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: William Allen Simpson <wsimpson@greendragon.com>
List: current-users
Date: 07/04/2003 17:23:28
"Greg A. Woods" wrote:
> Smail, for example, only requires that the name "localhost" appear in
> either $hostnames or $more_hostnames in order to function in this way.

Are you proposing smail as the NetBSD default mailer?  That would be a
different thread, please.


> > (5) sendmail is better at managing large numbers of domains.
> 
> I think that claim is both completely bogus and _way_ off topic.
> 
> ($mydestination can specify any number of flat files and "type:table"
> maps as well as of course any number of plain domain names)
> 
I'm just summarizing the comments.  It's not a claim *I* made.


> >  That requires only 3 file changes:
> >
> >  * comment (add # next to) smtpd in /etc/postfix/master.cf
> >  * swap the commented lines (sendmail to postfix) in /etc/mailer.conf
> >  * have sysinst add "postfix=YES" to /etc/rc.conf
> 
> I believe you'll also need to add the following line to
> /etc/postfix/main.cf (without leading whitespace of course):
> 
>         mydestination = $myhostname, localhost.$mydomain, localhost
> 
That is apparently the default, or something like it.

> and most imporantly of all you also need to make sure that cron and
> /etc/daily et al send their mail to "<root@localhost>", not just "root".
> 
Nope.  They all worked to root as-is just fine last night.

-- 
William Allen Simpson
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32