Ronneil Camara wrote:
> I've created a shell script which checks for free disk space. I've added
> this in my cron. It also emails me every 5 minutes if my diskspace would go
> below 10mb. It's actually working.
>
> My question is, how would I email it to multiple recipients?
>
> I've tried the following pero error siya
>
> 1. [EMAIL PROTECTED] , [EMAIL PROTECTED]
> 2. [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> And btw, my linux is just an email gateway. Ok sana kung ang mail server ko
> ay yung linux din. All I have to do is to create an alias in /etc/aliases if
> using sendmail. Kaso ang email server namin is on a separate box. I can ask
> the admin to create an alias also on the other mail server. Pero, baka may
> solution kayo sa tanong ko.
>
> tia :-)
>
hello ronneil,
since this is a linux box, /etc/aliases file is your simple solution even if
this box doesnt run a sendmail daemon, it will just trigger the mail program and
call sendmail program. for example:
crontab file:
MAILTO=recipients
/etc/aliases file:
recipients: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
hope this help.
fooler.
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]