Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] sending mails to the localhost



On Wed, Aug 02, 2006 at 11:23:51AM +0900, Josh wrote:
> On 01/08/06, Hector Akamine <akamine@example.com> wrote:
> 
> > I have seen some examples of scripts triggered by processes running
> > locally that use the command "mail" to notify the admin/root in case
> > something is going wrong. My question: do I need a full-fledged mail
> > server running in the host to have these messages sent?
> 
> No, you do not need an actual MTA. What you can use instead depends on
> the distro; Gentoo uses a package called ssmtp:
> 
> http://packages.gentoo.org/search/?sstring=ssmtp
> 


> Debian (and by extension, Ubuntu, I would assume) has a very similar
> package, but I don't remember what it is called. I am sure someone on
> this list will, though.

They probably have ssmtp.  There are a few other similar ones, esmtp,
msmtp.  However, ssmtp writes to /var/log/maillog, and I don't think the
others do.

http://qnd-guides.org/qnd-ssmtp.html


-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: Hey, I know! Why don't you kill them? 
Giles: I'm a Watcher, I haven't the skill. 
Buffy: Oh, come on. A stake through the heart, a little sunlight.
It's like falling off a log. 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links