Hi Dustin,

I had the same problem with SuSE Linux.

First, I want to say that some Linux distributions (at least SuSE) are 
configured by default with a cron that will not send any output by mail, 
but only if the program launched by cron exited with an error status. So 
check if this is the case.

Second, as far as I can guess, in my system the mail from cron are being 
sent by contacting the SMTP server on port 25 on localhost (I think by 
the original sendmail binary) so, if you run xmail for SMTP, you must 
configure xmail to act as a relay for the system.

Now my system works well, with xmail acting as a relay for localhost and 
the original sendmail from the SuSE distribution.

-- 
Luca Giuranna


Dustin C. Hatch wrote:
> This is a little off topic, but I am not sure where it belongs best, and 
> because I am sure (almost) everyone here is using vixie-cron and xmail, 
> I thought I'd ask.  My problem is cron doesn't send the output of the 
> commands it runs.  I am not sure whether I am not doing something right 
> or what, but I just don't receive the output as I should.  I only have 
> one crontab, namely root's and it does a few simple things at different 
> points of time.  To test, i made an entry that runs each minute and 
> simply echoes "hi"
> 
> # crontab -e
> -----------------------------------------
> * * * * * echo "hi"
> 
> I watched /var/log/crond/current and saw the cronjob run:
> 
> # tail -f /var/log/crond/current
> ....
> Feb  6 13:29:01 [/usr/sbin/cron] (root) CMD (echo "hi")
> 
> Shouldn't this email root a message that says "hi"?  Did I miss a 
> configuration setting somewhere?  Is cron confusing the sendmail script?
> 
> I know that sendmail works because PHP can access it.  If anyone has any 
> suggestions, let me know
> 
> --
> Dustin C. Hatch
> http://www.dchweb.com/
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to