Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 20:12:12 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Nash Nipples <trashy_bumper@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: How do i send mail to certain domain users over external smtp using sendmail?
Message-ID:  <20060511191212.GA10296@uk.tiscali.com>
In-Reply-To: <20060511131959.29296.qmail@web36302.mail.mud.yahoo.com>
References:  <20060511130341.GA9353@uk.tiscali.com> <20060511131959.29296.qmail@web36302.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 11, 2006 at 06:19:59AM -0700, Nash Nipples wrote:
>      Upgrade to exim - *any* mail routing policy you can think of can be
>      implemented in exim.
> 
>    lol thanks! i've read about it and i think its awesome but yet i dont
>    know how do i uninstall sendmail?

It's part of the base system, so you just ignore it.

1. Install exim from ports or packages

2. Edit /etc/mail/mailer.conf so that it reads

sendmail        /usr/local/sbin/exim
send-mail       /usr/local/sbin/exim
mailq           /usr/local/sbin/exim
# optional extras
newaliases      /usr/bin/true
hoststat        /usr/local/sbin/exim_dumpdb /var/spool/exim wait-remote_smtp
purgestat       /usr/local/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp

(I'm not sure if the port does that for you automatically)

3. Edit /etc/rc.conf

sendmail_enable="NONE"
exim_enable="YES"

So whilst this doesn't actually purge your system of the devil-spawn, it
does neutralise it :-)

The default install works as a basic out-of-the-box sendmail: i.e. it
delivers to mbox files /var/mail/foo, honours /etc/aliases and .forward
files. You then read the config samples and start tweaking to add whatever
features and policies you like. The entire flow-of-control, from accepting
mail to delivering it, is soft-coded in the configure file (but it doesn't
look like Snoopy swearing)

Regards,

Brian.



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