sendmail running on localhost 25?

Danny MacMillan flowers at
Fri Dec 24 17:04:06 PST 2004

On Fri, Dec 24, 2004 at 05:29:05PM -0700, James wrote:
> On Friday 24 December 2004 09:16 am, Ruben de Groot wrote:
> > On Fri, Dec 24, 2004 at 03:26:15AM -0700, James typed:
> > > Hello,
> > >
> > > Use:
> > > sendmail_enable="none"
> > >
> > > This will disable all sendmail processes.
> >
> > This will also disable those annoying daily, weekly and montly
> > messages recieved from cronjobs.
> >
> > Who wants to read about your disks filling up, attempts to break into
> > your server and other futilities anyway ;-)
> Thanks for the heads up on that.... Is there a way to make cron use something 
> other then sendmail?

If you have installed qmail properly, you don't have to do anything
extra for this to work.  You should have something like this in

# Configuration for mailwrapper is kept in /etc/mail/mailer.conf.
# Replace that file with this one to enable qmail under a sendmail
# disguise. Very useful.

sendmail        /usr/local/qmail/bin/sendmail
send-mail       /usr/local/qmail/bin/sendmail
mailq           /usr/local/qmail/bin/qmail-qread
newaliases      /usr/local/qmail/bin/newaliases
hoststat        /usr/local/qmail/bin/qmail-tcpto
purgestat       /usr/local/qmail/bin/qmail-tcpok

You'll note the comment lines; this is the mailer.conf file that is
supplied by the qmail port.  In fact, if you followed the directions
in the pkg-message for the port, you will have run:

make enable-qmail

Which will have updated your /etc/mail/mailer.conf file automagically.

One thing to note:  if you've executed the 'minimal survival command'
then your root email is accumulating in the ~alias mailbox.  If you
want it to show up in your mailbox (or anywhere else), you'll have to
modify the ~alias/.qmail-root file appropriately.  The same goes for
postmaster and mailer-daemon.


More information about the freebsd-questions mailing list