Date: Fri, 24 Dec 2004 18:03:57 -0700 From: Danny MacMillan <flowers@users.sourceforge.net> To: James <james@idea-anvil.net> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail running on localhost 25? Message-ID: <20041225010357.GA1170@procyon.nekulturny.org> In-Reply-To: <200412241729.06087.james@idea-anvil.net> References: <20041224065512.29367.qmail@rahul.net> <200412240326.16142.james@idea-anvil.net> <200412241729.06087.james@idea-anvil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 /etc/mail/mailer.conf: # 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. -- Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041225010357.GA1170>