Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vixie-cron doesn't email (Solved-ish)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nazgul533
n00b
n00b


Joined: 08 Jun 2005
Posts: 69
Location: USA

PostPosted: Sun Nov 07, 2010 9:31 am    Post subject: vixie-cron doesn't email (Solved-ish) Reply with quote

I am using vixie-cron, with ssmtp installed, and attempting to get vixie-cron to email me the output of commands, as it should do. I have set a simple echo "Hello World" command in my crontab. I can confirm with /var/log/cron.log that this command is indeed being performed. I can also confirm with /var/log/messages that vixie-cron is passing off the output to ssmtp to mail to me, and is being successfully emailed from myusername@myemail.com.

I have the MAILTO= defined in my crontab as it should be, and I also believe my ssmtp config file is correctly set-up, and I can send email with the command ssmtp putemail@addresshere.com, and it works absolutely fine. However, despite all this, I am NOT receiving the output from echo "Hello World" as I should, despite the logs claiming an email is being sent. I'm at a loss -- anyone have any ideas?


Last edited by nazgul533 on Mon Nov 08, 2010 6:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 436
Location: Leeds

PostPosted: Sun Nov 07, 2010 11:54 am    Post subject: Reply with quote

Hi, I don't know if this will be of any use https://forums.gentoo.org/viewtopic-t-510335-highlight-ssmtp+connection+lost+processing.html
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
nazgul533
n00b
n00b


Joined: 08 Jun 2005
Posts: 69
Location: USA

PostPosted: Mon Nov 08, 2010 6:26 pm    Post subject: Reply with quote

Thanks, but I wasn't able to gather anything out of that... I actually just decided to ditch ssmtp and set up a basic postfix mail server -- I found it much simpler and everything running along swimmingly now. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum