Re: [gentoo-user] vixie-cron and ssmtp

2006-09-15 Thread Troy Curtis Jr
On 9/15/06, David Grant [EMAIL PROTECTED] wrote: Forget it, I gave up on ssmtp as it is the problem. I've now gone to postfix and it is so much easier. Setting up postfix involed 3 simple steps. Setting relayhost in /etc/postfix/main.cf and creating .forward files in root and normal user

[gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab). And on the command line, I see the same thing either way: Sep 14 14:43:01

Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread Neil Bothwick
On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab). You seem to be

Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the

Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, David Grant [EMAIL PROTECTED] wrote: On 9/14/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs

Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, David Grant [EMAIL PROTECTED] wrote: Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange. I tried setting MAILTO=david and that didn't work. I decided ssmtp might