E-mail Server

Daniel Bye dan at slightlystrange.org
Thu May 15 11:45:55 PDT 2003

On Thu, May 15, 2003 at 11:56:13AM -0600, massey at 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 ;-)


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

More information about the freebsd-questions mailing list