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

Re: How does Cron send email?



Grok Mogger wrote:

> I was hoping someone could help me understand how cron
> magically sends email.  My ultimate goal is to configure cron to
> send real Internet email so instead of just getting mail on my
> unix accounts on my linux box (which I read via the 'mail'
> command) I can get email at my gmail account.

Create a ~/.forward file that contains the email address you want your local
mailbox redirected to, followed by a newline.

> I have a feeling that this would be a very complicated thing to
> explain to me, so I'd appreciate someone just giving me a shove
> in the right direction.  I am completely at a loss as to how to
> even begin.

Well, my answer *does* assume you have a working MTA that is able to pass
messages to the Internet to start with, but otherwise I've tried to make it
straightforward.




Reply to: