Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7E1551F586293F54771D2D59
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Dimitri Yioulos wrote:

> I can't believe it.  After all this time hacking away, I solved my issu=
e rather easily.
>  I made sure sendmail was turned off, then deinstalled/reinstalled post=
fix-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 pos=
tfix with
> "/etc/rc.d/sendmail onestart" (Q: why is postfix invoked by starting se=
ndmail?).  Was
> able to send mail locally and externally through MTA.

It isn't usually.  I guess it only works because mailer.conf says the rea=
l sendmail
binary is the one installed by postfix.

The usual arrangement is to turn off sendmail and enable postfix from /et=
c/rc.conf
by the following:

sendmail_enable=3D"NO"
sendmail_submit_enable=3D"NO"
sendmail_outbound_enable=3D"NO"
sendmail_msp_queue_enable=3D"NO"

postfix_enable=3D"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-se=
ndmail is
killed first.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig7E1551F586293F54771D2D59
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig7E1551F586293F54771D2D59--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B119285.20307>