[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1877: at/batch do not mail output with sendmail installed



On Wed, 22 Nov 1995, Ian Jackson wrote:

> Are you sure this is true in at 2.9a-1 ?  My source tree seems to
> suggest that they use `mail'.  I should probably add a dependency.

Yes, I'm pretty sure (unless there is more than one at-2.9a-1 out there).
The following diff works for me:

--- debian.subs.dist	Sat Oct 28 17:12:34 1995
+++ debian.subs	Thu Nov 23 10:45:16 1995
@@ -11,7 +11,7 @@
 s:_DAEMON_UID:1:g
 s:_DAEMON_GID:1:g

-s:_MAIL_CMD:/usr/sbin/rmail:g
+s:_MAIL_CMD:/usr/lib/sendmail:g
 s:_PROC_DIR:/proc:g

 s:_PERM_PATH:$(IROOT)/etc:g

> Sendmail should provide /usr/sbin/rmail too - that it doesn't is a bug
> in the Sendmail package.

Sendmail does provide /usr/bin/rmail, but I don't think this is suitable
for atrun. I tried it and it doesn't work. I chose /usr/lib/sendmail in
the diff above, because this is what cron uses. /usr/bin/mail should work
also, I think, but as it calls sendmail to deliver the mail (if I remember
correctly) I guess we could just as well use /usr/lib/sendmail (which is
provided by both smail and sendmail).

Harald Schueler
Universitaet Essen                                    Tel +49-201-1832456
Fachbereich 7                                         Fax +49-201-1832120
45117 Essen                              Email hs@ILP.Physik.Uni-Essen.DE



Reply to: