Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 10:35:23 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        trouble@hackfurby.com
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FreeBSD 3.3 and egcs 
Message-ID:  <58641.938421323@axl.noc.iafrica.com>
In-Reply-To: Your message of "Mon, 27 Sep 1999 18:15:40 EST." <37EFFA9B.C3BF57D5@hackfurby.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 27 Sep 1999 18:15:40 EST, TrouBle wrote:

> third... how is it i can remove sendmail all together and go with exim
> as my default MTA, and not have it clobbered also during  a make world
> process...

This is the only bit I want to answer. :-)

1) Install Exim from the ports tree.

2) Replace sendmail binaries with a symbolic links to exim:

	cd /usr/sbin && ln -fs /usr/local/sbin/exim sendmail
	cd /usr/bin && ln -fs /usr/local/sbin/exim mailq

3) Teach newsyslog to rotate your exim logs:

	Add something like this to /etc/newsyslog.conf:

	/var/log/exim_mainlog   root:mail    640   7   *    24  Z
	/var/log/exim_rejectlog root:mail    640   3   100  *   Z

	If you run exim with its own user and group, make sure you get
	the ownerships above correct. For example, I use the following:

	/var/log/exim/mainlog   exim:mail    640   7   *    24  Z
	/var/log/exim/rejectlog exim:mail    640   3   100  *   Z

	See the newsyslog(8) manpage for more details.

4) Make sure future ``make world'' runs won't activate sendmail:

	echo NO_SENDMAIL=true >>/etc/make.conf

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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