Delivering system mail

Sahil Tandon sahil at tandon.net
Sun Jan 25 17:56:02 PST 2009


On Sun, 25 Jan 2009, Rem P Roberti wrote:

> I currently have to retrieve crontab generated system mail from the command
> line.  Is it possible to have system mail delivered to my Thunderbird  
> mail client?

According to the cron(8) manual:

   When executing commands, any output is mailed to the owner of the crontab
   (or to the user named in the MAILTO environment variable in the crontab, 
   if such exists).

So you can configure Thunderbird to retrieve email for the user running the
crontab, or set the MAILTO environment variable within your crontab.

-- 
Sahil Tandon <sahil at tandon.net>


More information about the freebsd-questions mailing list