Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]dead.letter from rsnapshot (via vixie-cron?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Wed Apr 17, 2013 8:29 pm    Post subject: [SOLVED]dead.letter from rsnapshot (via vixie-cron?) Reply with quote

Hi there,
I have realized that the dead.letter under root directory is increasing due to an everyday rsnapshot message. I don't need such message because rsnapshot has its own logfile. I suspect these messages come from rsnpshot via vixie-cron. However, rsnapshot has no option to control these messages. Has anybody know to fix this?
Best


Last edited by ferreirafm on Thu Apr 18, 2013 2:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9675
Location: almost Mile High in the USA

PostPosted: Wed Apr 17, 2013 10:26 pm    Post subject: Reply with quote

It's probably indeed from vixie-cron, vixie-cron should have a dependency on a mail system as that's the normal way for cron to notify output of cron jobs.
A way to "fix" this? redirect stdout and stderr to /dev/null in your crontab.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Apr 17, 2013 10:27 pm    Post subject: Reply with quote

... but you could also set up the mail system so your system can warn you if something is going wrong, like smartctl, etc. Whether rsnapshot output is part of it is up tp you decide of course.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9675
Location: almost Mile High in the USA

PostPosted: Wed Apr 17, 2013 11:57 pm    Post subject: Reply with quote

Probably got ssmtp installed with vixie-cron, as IIRC a mail transfer agent virtual is a dependency of vixie-cron.

Another idea is to use ssmtp to forward mails to another box if one really doesn't want a full mail system on the machine.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Apr 18, 2013 12:08 am    Post subject: Reply with quote

Full mail system really won't take much resources, but centralized mail makes sense, I'm using my router to receive all warnings from my LAN for instance.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Thu Apr 18, 2013 2:11 pm    Post subject: Reply with quote

eccerr0r wrote:
A way to "fix" this? redirect stdout and stderr to /dev/null in your crontab.

rsnapshot seems to use v-cron via internals. I mean, there isn't a rsnapshot line in crontab to redirect to /dev/null or to anywhere.
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 487
Location: Sao Paulo, Brazil

PostPosted: Thu Apr 18, 2013 2:27 pm    Post subject: Reply with quote

eccerr0r wrote:
Probably got ssmtp installed with vixie-cron, as IIRC a mail transfer agent virtual is a dependency of vixie-cron

That's exactly what is happening. SSMPT depends on virtual/mta-1 which is also a vixie-cron dependency.
Solutions was unmerge ssmtp since it's something I almost never use.
Thanks for helping.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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