/etc/mailname and cron

Derek Broughton news at pointerstop.ca
Mon May 1 13:48:30 UTC 2006

Tony Arnold wrote:

> Tony,
> tony B wrote:
>> The cron.monthly stuff gets run using anacron, I believe.  My comment
>> that the cron job mails results to root is based on the man page for
>> anacron which says:
>> If  a  job generates any output on its standard output or standard
>> error, the output is mailed to the user running
>>        Anacron (usually root), or to the address contained by the MAILTO
>> environment variable in  the  crontab,  if  such
>>        exists. If the LOGNAME environment variable is set, it will be
>> used as From: field.
>> It may pipe it to something, but I do not have mail or mailx on my
>> system.  I do have postfix.
> I'm surprised you don't have mail. I thought it was installed by default
> on breezy. And indeed I thought cron would depend on it, but I've just
> checked and cron depends on postfix or mail-transport-agent.

Me too - I've been wrong before, though :-)

I was certain that it used "mail" as the mailer (and the dependency that
provided it was mailx). 

Anyway, since he has postfix, the dpkg-reconfigure should give the options
he needs.

More information about the ubuntu-users mailing list