Bug 127924 - [PATCH] MAILTO option in anacrontab
Summary: [PATCH] MAILTO option in anacrontab
Alias: None
Product: Fedora
Classification: Fedora
Component: anacron
Version: 2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
Blocks: FC3BugWeekTracker
TreeView+ depends on / blocked
Reported: 2004-07-15 13:04 UTC by Paul Bolle
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: 2.3-32
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2006-07-07 17:52:58 UTC
Type: ---

Attachments (Terms of Use)
The patch I promised in my bugreport (1.45 KB, patch)
2004-07-15 13:06 UTC, Paul Bolle
no flags Details | Diff

Description Paul Bolle 2004-07-15 13:04:50 UTC
Description of problem: cron has a MAILTO option in crontab (and
logwatch has a MailtTo option in logwatch.conf). anacron doesn't have
a MAILTO option in anacrontab.

Version-Release number of selected component (if applicable): 2.3-31

Additional info: I'll attach a patch which enables a MAILTO option for

anacron hasn't seen any serious development in years. Therefor I
didn't even consider sending this patch "upstreams". I realise that
the chance for my patch to be accepted are quite small under these
conditions ...

Comment 1 Paul Bolle 2004-07-15 13:06:04 UTC
Created attachment 101939 [details]
The patch I promised in my bugreport

Comment 2 Rik van Riel 2004-09-27 22:18:24 UTC
The patch looks good to me.

Jason, any objections if I apply it for rawhide as one of the bug week
activities ? ;)

Comment 3 Rik van Riel 2004-09-27 22:20:49 UTC
Adding to the bug week tracker.  Since the patch is available this one
should be easy to fix ;)

Comment 4 Paul Bolle 2004-09-28 00:13:50 UTC
1) Would the debian maintainer qualify as upstreams? Anyway, maybe you
should have a quick look at this debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223337. (I'm not sure
whether the "commited" patch is on that page.)

The debain people seem to have fixed/changed more than I did and
included an update to the manpage (and all that just a few days
earlier too!).

2) It seems wise to add "MAILTO=root" to /etc/anacrontab (to make this
new feature more obvious).

Comment 5 Michael Schwendt 2004-09-28 16:31:15 UTC
Debian's MAILTO patch has been merged into this one:

They have implemented a bit more, such as adding the hostname in the
subject line, which makes sense since you can MAILTO a different host.
Should be easy to extract the pieces of the patch.

But the patch looks as if it could clash with
anacron-2.3-mail-content-type-77108.patch, so merging/regenerating
that one might be necessary.

Comment 6 Rik van Riel 2004-09-28 16:33:41 UTC
Patch applied for anacron-2.3-38 (the one from comment #1) and MAILTO
line added to /etc/anacrontab.

Comment 7 Paul Bolle 2005-07-30 21:48:37 UTC
According to my "Bugzilla Front Page" this bug is still open: "it is now
resolved and you should verify it." Hmmm.

What do you want me (this bug's reporter) to actually do in order to "verify" it?

Note You need to log in before you can comment on or make changes to this bug.