Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vixie-cron, email, and user crontabs (SOLVED)
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
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Tue Jan 10, 2006 9:28 pm    Post subject: vixie-cron, email, and user crontabs (SOLVED) Reply with quote

I'm having a problem with vixie-cron. I have one system in my apartment (my server) that is capable of handling email, I basically want all the other systems to send their emails to an account on the server instead of locally. I have SSMTP set up on the other machines to use the server as the mailhub. I set up the account I want the emails sent to in /etc/crontab. If I put my system-wide crons in /etc/crontab, the emails are delivered to the server properly. If I put them in a user crontab, I just end up with dead.letter files in the user's home directory. Is there a way to specify in a user crontab where to send emails?

Last edited by Akaihiryuu on Thu Jan 12, 2006 3:25 am; edited 1 time in total
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Tue Jan 10, 2006 10:56 pm    Post subject: Reply with quote

I tried adding MAILTO = <address> in my user crontab. I have to find a way to test it now. I guess I could set something to run soon that would just echo a message and test it that way, if not I have more cron stuff scheduled for tomorrow morning that will serve as a suitable test.
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Thu Jan 12, 2006 3:25 am    Post subject: Reply with quote

Solved, the MAILTO variable just had to be added to the user crontabs.
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