Date: Sat, 28 Nov 2009 21:13:41 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Dimitri Yioulos <dyioulos@firstbhph.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Mail not working [SOLVED] Message-ID: <4B119285.20307@infracaninophile.co.uk> In-Reply-To: <20091128205723.M82133@firstbhph.com> References: <20091128173749.M1839@firstbhph.com> <20091128205723.M82133@firstbhph.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Dimitri Yioulos wrote:
> I can't believe it. After all this time hacking away, I solved my issue rather easily.
> I made sure sendmail was turned off, then deinstalled/reinstalled postfix-current from
> ports. I had to tweak some directives in mailer.conf and main.cf based on a couple of
> posts I googled. I made sure sendmail wouldn't start, then started postfix with
> "/etc/rc.d/sendmail onestart" (Q: why is postfix invoked by starting sendmail?). Was
> able to send mail locally and externally through MTA.
It isn't usually. I guess it only works because mailer.conf says the real sendmail
binary is the one installed by postfix.
The usual arrangement is to turn off sendmail and enable postfix from /etc/rc.conf
by the following:
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"
Then you should be able to start postfix by:
# /usr/local/etc/rc.d/postfix start
although you'll have to make sure the instance you started as a pseudo-sendmail is
killed first.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAksRkosACgkQ8Mjk52CukIxiqgCeLFh2JAfQvAyHDsn2deYc/1rE
nkgAn01l5hzDgTR29XXwQ7d5aXOXtZPk
=MVsz
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B119285.20307>
