Re: Cron Not Sending Mail

2009-03-10 Thread APseudoUtopia
On Wed, Mar 4, 2009 at 11:38 AM, Morgan Wesström freebsd-questi...@pp.dyndns.biz wrote: Yeah, I am aware what dnl does. The reason I commented that stuff out is because I have no use for any of it - all those files (access, local-host-names, mailertable, virtusertable, etc) are all empty by

Re: Cron Not Sending Mail

2009-03-04 Thread Morgan Wesström
APseudoUtopia wrote: In my case I only see either local there or my smart host as defined in /var/mail/{hostname}.mc Can you provide a diff -u between /etc/mail/freebsd.mc and /etc/mail/{hostname}.mc ? /Morgan I'd switch over to postfix, but I'm only using this to send output from cron

Re: Cron Not Sending Mail

2009-03-04 Thread APseudoUtopia
On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesström freebsd-questi...@pp.dyndns.biz wrote: APseudoUtopia wrote: In my case I only see either local there or my smart host as defined in /var/mail/{hostname}.mc Can you provide a diff -u between /etc/mail/freebsd.mc and /etc/mail/{hostname}.mc ?

Re: Cron Not Sending Mail

2009-03-04 Thread Morgan Wesström
Yeah, I am aware what dnl does. The reason I commented that stuff out is because I have no use for any of it - all those files (access, local-host-names, mailertable, virtusertable, etc) are all empty by default and I had no reason to add anything to them. I'll try going back to the default

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Mon, Mar 2, 2009 at 10:14 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia apseudouto...@gmail.com wrote: [snip] # # User www's crontab # Note, I also tried removing the MAILTO to no avail # MAILTO=root # m     h       dom     mon    

Re: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote: Thanks for the tips. I've put the following line in my normal user account's crontab (This account does have a shell, it's one I use on a daily basis): SHELL=/bin/sh mailto=my_email_acco...@gmail.com *       *      

Re: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström
Glen Barber wrote: On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote: Thanks for the tips. I've put the following line in my normal user account's crontab (This account does have a shell, it's one I use on a daily basis): SHELL=/bin/sh

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 4:17 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote: Thanks for the tips. I've put the following line in my normal user account's crontab (This account does have a shell, it's one I use on a

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström freebsd-questi...@pp.dyndns.biz wrote: Glen Barber wrote: On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote: Thanks for the tips. I've put the following line in my normal user account's crontab (This account does have

Re: Cron Not Sending Mail

2009-03-03 Thread Glen Barber
On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia apseudouto...@gmail.com wrote: I have tested it - and sending mail manually from command line to the gmail account works fine without any problems. What I'm saying is that you changed two of the variables without actually verifying one or the

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 5:44 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia apseudouto...@gmail.com wrote: I have tested it - and sending mail manually from command line to the gmail account works fine without any problems. What I'm saying is

Re: Cron Not Sending Mail

2009-03-03 Thread Mel
On Tuesday 03 March 2009 13:44:34 APseudoUtopia wrote: On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesström freebsd-questi...@pp.dyndns.biz wrote: Glen Barber wrote: On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia apseudouto...@gmail.com wrote: Thanks for the tips. I've put the following line

Re: Cron Not Sending Mail

2009-03-03 Thread Morgan Wesström
relay=...@localhost Isn't w...@localhost a very weird hostname for a relay? Can you really resolve that into an IP address? /Morgan Hm, I'm not sure where it's getting that from. The MAILTO variable is set in the crontab, so it shouldn't be going to or relaying through localhost at all,

Re: Cron Not Sending Mail

2009-03-03 Thread APseudoUtopia
On Tue, Mar 3, 2009 at 6:48 PM, Morgan Wesström freebsd-questi...@pp.dyndns.biz wrote: relay=...@localhost Isn't w...@localhost a very weird hostname for a relay? Can you really resolve that into an IP address? /Morgan Hm, I'm not sure where it's getting that from. The MAILTO variable is set

Re: Cron Not Sending Mail

2009-03-02 Thread APseudoUtopia
On Sun, Mar 1, 2009 at 9:03 PM, Frank Shute fr...@shute.org.uk wrote: On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: Cron is not sending output as emails. I noticed this when I stopped seeing the output of a backup script in my daily email. I thought there was a problem with

Re: Cron Not Sending Mail

2009-03-02 Thread Frank Shute
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: Cron is not sending output as emails. I noticed this when I stopped seeing the output of a backup script in my daily email. I thought there was a problem with the backup script - but no, it's cron not sending the emails. I had

Re: Cron Not Sending Mail

2009-03-02 Thread Glen Barber
On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia apseudouto...@gmail.com wrote: [snip] # # User www's crontab # Note, I also tried removing the MAILTO to no avail # MAILTO=root # m     h       dom     mon     dow     cmd *       *       *       *       *       echo Hello [snip] 1.)

Cron Not Sending Mail

2009-03-01 Thread APseudoUtopia
Cron is not sending output as emails. I noticed this when I stopped seeing the output of a backup script in my daily email. I thought there was a problem with the backup script - but no, it's cron not sending the emails. I had this problem before on 6.1, which I never found a solution to. I gave

Re: Cron Not Sending Mail

2009-03-01 Thread Frank Shute
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: Cron is not sending output as emails. I noticed this when I stopped seeing the output of a backup script in my daily email. I thought there was a problem with the backup script - but no, it's cron not sending the emails. I had