Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 19:47:12 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: E-mail Server
Message-ID:  <20030515184712.GA98835@catflap.home.slightlystrange.org>
In-Reply-To: <2474.216.222.104.2.1053021373.squirrel@webmail.velocitus.net>
References:  <EB45717E-86F9-11D7-8B79-00039345F4BA@mail13.webintl.com> <20030515193316.45b5f781.flynn@energyhq.es.eu.org> <2474.216.222.104.2.1053021373.squirrel@webmail.velocitus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 15, 2003 at 11:56:13AM -0600, massey@rmci.net wrote:
> Currently I have Sendmail just sending alerts via the log files but not
> sending in/out e-mail.
> 
> Can I setup Qmail or Postfix and use them for my Domain name and still
> have Sendmail do the other job??

No need - if you install another SMTP server package, it can just as happily
do what sendmail currently does.

> If not how do I change the defaults to use say Qmail rather than Sendmail.

A few things need to be done - 

in /etc/rc.conf, set sendmail_enable="NONE", to stop the system starting 
sendmail at boot time; 

kill any sendmail processes that are still around;

install and configure the SMTP server of your choice;

edit /etc/mail/mailer.conf so that anything that wants to use SMTP services
gets pointed at the right binaries.  See man mailwrapper for more details 
about /etc/mail/mailer.conf and what it can do for you.  Be aware, though,
that not all sendmail-like interfaces are equal - you may need to tweak
certain other things on the system to get the new SMTP server to play nicely
in all its guises - it's well worth the effort, though, if like me, you find
reading the sendmail config file makes you feel your grip on reality is
deserting you ;-)

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \



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