Subject: Re: postfix
To: , <netbsd-users@netbsd.org>
From: Allen D. Ball <ball@iprotium.com>
List: netbsd-users
Date: 12/02/2002 19:07:25
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3121700848_217431
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

On 12/2/02 6:26 PM, "Rick Kelly" <rmk@toad.rmkhome.com> wrote:

> 
> What needs to be done to use postfix?
> 
On a stock 1.6 system, to set up a "satellite:"

* Edit /etc/mailer.conf (see attached).  Note: I left the aliases file in
the "sendmail" location.

* Compose a /etc/postfix/main.cf (see attached).  Note: "proton" is the name
of the host being configured and "neutron" is on the LAN and is my "smart"
MX host.  The main.cf on neutron is more complex but I was able to configure
it by following the examples in /usr/share/examples/postfix.

* Fix pathnames in /etc/postfix/master.cf.  This is necessary on my real
mail host (neutron) because I run Cyrus IMAP out of pkgsrc and the pathname
needs to be fixed in master.cf.

* Start postfix in /etc/rc.conf.  Add 'postfix=YES'.

> Edit mailer.conf? And what calls mailer.conf?
> 
mailwrapper(8)

> Edit /etc/postfix/main.cf? Which binary should I be pointing at?
> /usr/sbin/postfix or /usr/libexec/postfix/sendmail?
> 
> Where does mailwrapper come into the picture?
> 
> The last time I set this up on NetBSD, I just downloaded the latest source
> and installed it in /usr/local. Make sure no other mailer was running, and
> started it from /etc/rc.local.

I found this to be basically true, now.


--B_3121700848_217431
Content-type: application/octet-stream; name="mailer.conf"
Content-disposition: attachment
Content-transfer-encoding: base64

IwkkTmV0QlNEOiBtYWlsZXIuY29uZix2IDEuMyAyMDAwLzA3LzI2IDE2OjM1OjMzIGl0b2p1
biBFeHAgJAojCiMgRXhlY3V0ZSB0aGUgInJlYWwiIHNlbmRtYWlsIHByb2dyYW0sIG5hbWVk
IC91c3IvbGliZXhlYy9zZW5kbWFpbC9zZW5kbWFpbAojIChDb252ZXJzaW9uIHRvIHBvc3Rm
aXggY29tcGxldGUgZXhjZXB0IGZvciBuZXdhbGlhc2VzIGNvbW1hbmQuKQojCnNlbmRtYWls
CS91c3IvbGliZXhlYy9wb3N0Zml4L3NlbmRtYWlsCnNlbmQtbWFpbAkvdXNyL2xpYmV4ZWMv
cG9zdGZpeC9zZW5kbWFpbAptYWlscQkJL3Vzci9saWJleGVjL3Bvc3RmaXgvc2VuZG1haWwK
bmV3YWxpYXNlcwkvdXNyL2xpYmV4ZWMvc2VuZG1haWwvc2VuZG1haWwKaG9zdHN0YXQJL3Vz
ci9saWJleGVjL3Bvc3RmaXgvc2VuZG1haWwKcHVyZ2VzdGF0CS91c3IvbGliZXhlYy9wb3N0
Zml4L3NlbmRtYWlsCg==

--B_3121700848_217431
Content-type: application/octet-stream; name="main.cf"
Content-disposition: attachment
Content-transfer-encoding: base64

IyAvZXRjL3Bvc3RmaXgvbWFpbi5jZgoKcXVldWVfZGlyZWN0b3J5ID0gL3Zhci9zcG9vbC9w
b3N0Zml4CmNvbW1hbmRfZGlyZWN0b3J5ID0gL3Vzci9zYmluCmRhZW1vbl9kaXJlY3Rvcnkg
PSAvdXNyL2xpYmV4ZWMvcG9zdGZpeAoKbWFpbF9vd25lciA9IHBvc3RmaXgKc2V0Z2lkX2dy
b3VwID0gbWFpbGRyb3AKCm15aG9zdG5hbWUgPSBwcm90b24KbXlvcmlnaW4gPSBpcHJvdGl1
bS5jb20KcmVsYXlob3N0ID0gbmV1dHJvbgo=

--B_3121700848_217431--