CRON and SMTP
Daniel R . Kilbourne
drk@voyager.net
Sun, 17 Dec 2000 20:43:30 -0500
First:
If the bash shell automatically spits out the output, try this:
6,42 * * * * /home/ak/stats > /dev/null
This will still send you errors, just not 'normal' output.
If you want to kill both (errors and 'normal'), do this:
6,42 * * * * /home/ak/stats > /dev/null 2>&1
Second:
Not sure. Can you post any config files required for exim?
try something like :
6,42 * * * * /home/ak/stats szumlins extolled:
> Okay, I have 2 questions. First, I just added a bash shell script to cron
> that runs every half-hour. It works great, but unfortunately it sends an
> e-mail to root every half hour as well confirming the tast being
> complete. This means I get 48 identical e-mails daily. Anyone know how to
> turn off logging for that particular script? it is running off a crontab
> script in one of my users home directories. It is looks like this:
>
> [root@britney ak]# more crontab
> 6,42 * * * * /home/ak/stats
>
> where "stats" is the shell script. I just don't want to get e-mails every
> 30 hour saying the same thing, only when an error occurs in the running
> of the crontab.
>
> Second, I can't seem to let my e-mailer on my Mac send mail through my
> mail server. Pine works perfectly, but I have tried Netscape, Outlook,
> and my Mac e-mailer, all give back the same message when I try to send:
>
> ** 550 relaying to <blah@blah.blah> prohibited by
> administrator (failed to find host name from IP address)
>
> ** SMTP server error "503 Valid RCPT TO <recipient> must precede
> DATA"
>
> How do I allow hosts other than my server itself to use the server for
> sending mail? I'm using exim, btw.
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
--
--------------------------------
Daniel R. Kilbourne
daniel.kilbourne@voyager.net
Network Engineering
Voyager.net - A CoreComm Company
________________________________