Re: mail command without sendmail


Subject: Re: mail command without sendmail
From: Chris Hamilton (chris@digitalalaska.com)
Date: Tue Jan 28 2003 - 13:33:20 AKST


Ooops. I'm using the shell. The script is very simple and looks like this.

find /backup_dir -mtime -1 | mail me@me.com -s "Backup status"

It just sends me list of files that were backed up.

If anyone has a more elegant solution, I'd be more than happy to hear (or
see) any ideas.

Thanks.

Chris.
----- Original Message -----
From: "Joshua J.Kugler" <isd@as.uaf.edu>
To: <aklug@aklug.org>
Sent: Tuesday, January 28, 2003 1:28 PM
Subject: Re: mail command without sendmail

>
> You didn't say which language (although I'll assume sh, since you're using
> the mail command), but if it's Perl, you could use the Net::SMTP module.
I'm
> sure Python has something similar.
>
> j----- k-----
>
> On Tuesday 28 January 2003 13:26, Chris Hamilton wrote:
> > I'm trying to put together a script that uses the mail command, but it
> > doesn't like to run on machines without sendmail.
> >
> > I'm getting this message...
> >
> > /usr/sbin/sendmail: No such file or directory
> >
> > Any suggestions?
>
> --
> Joshua Kugler, Information Services Director
> Associated Students of the University of Alaska Fairbanks
> isd@asuaf.org, 907-474-7601
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Jan 28 2003 - 13:32:39 AKST