Ansgar Burchardt wrote:
tags 316442 + moreinfo
thanks

Hi,

I recently took over maintenance of at and am going over the open bug
reports.  You reported quite some time ago, that at will not mail
command output for jobs queued by root when using ssmtp or courier-mta.
Is this still the case?  If so, can you send mail to root using
/usr/sbin/sendmail?

On my system, root's mail is redirected to my own account (mwg) through /etc/aliases :

root: mwg

so, the testcase is to submit at/batch job under root, and then you don't get its output when you use courier-mta as sendmail.

# id
uid=0(root) gid=0(root) groups=0(root)
# echo echo test | batch
warning: commands will be executed using /bin/sh
job 3487 at Sat Nov 14 11:09:00 2009

(output is not mailed from this job)

$ id
uid=1001(mwg) gid=1001(mwg) groups=0(root),4(adm),6(disk),13(proxy),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),40(src),44(video),46(plugdev),108(camera),134(jabber),706(dos),1001(mwg)
$ echo echo test | batch
warning: commands will be executed using /bin/sh
job 3488 at Sat Nov 14 11:09:00 2009

(for this job, I get the output well)

I did not try to trace every operation of atd daemon, though .
Only noted that with other MTAs like postfix, the output is mailed well from both root and non-root jobs. Can not provide details about ssmtp as I don't use it.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to