Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Sep 2011 22:35:40 +0200
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        Brett Glass <brett@lariat.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cutting sendmail out of the loop
Message-ID:  <4E63E11C.4040408@gmail.com>
In-Reply-To: <201109041801.MAA04495@lariat.net>
References:  <201109041801.MAA04495@lariat.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Brett Glass schreef:
> I'm creating some small FreeBSD servers that shouldn't be able to send 
> mail to, or receive mail from, the outside world. I was originally 
> just going to set sendmail_enable="NONE" in /etc/rc.conf and turn off 
> the mailing of output from various utilities (e.g. cron), but alas 
> there seem to be a few programs I may need to run that insist upon 
> sending mail. So, I'd like to see if I can set up local delivery of 
> mail without invoking the memory- and cpu-hungry program that is 
> sendmail. I'm therefore wondering what would happen if I just put 
> /usr/libexec.mail.local in as "sendmail" and "send-mail" in 
> mailer.conf and leaving out the rest of the entries. Does anyone on 
> the list have experience with doing this or something similar? 
> Sendmail has a lot of command line options that mail.local does not, 
> but they seem to be rarely invoked by programs that do things such as 
> mail output to a local user.
>
> --Brett Glass
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
Maybe ssmtp is something you can use.
It is in ports, it does get mail out of the system.
I use it on all of my servers so i can receive the cron mails and so on.

Personaly i think sendmail should be replaced by such small mailer.
Also Dragonfly has removed Sendmail for there own small and clean mailer 
called DMA.
DMA - DragonFly Mail Agent

Gr
Johan Hendriks
Double L



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4E63E11C.4040408>