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

[Fwd: Re: How does Cron send email?]




Grok Mogger wrote:
I have read the cron manpage. I understand what cron mails and under what conditions it mails it, what I don't understand is HOW it mails it. I know that cron just sends the output of whatever script it runs. I don't understand how it mails that output. I'd like to understand how it does that so that I can make it send email to a gmail account or a similar "real" Internet account.

Are you telling me that if I set my MAILTO entry to something like 'Joe.Person@gmail.com', that's actually going to send legitimate Internet mail to Joe at his gmail account? I find that hard to believe.


What leads you to think it won't? All cron does is invoke your system mail program.

Why not just try it. If it doesn't work, then set MAILTO=<a local account> then set up an alias or a .forward file to forward that account to your gmail account.





Reply to: