On April 13, 2010 11:11:17 am James Vega wrote: > On Tue, Apr 13, 2010 at 3:34 AM, Filipus Klutiero <chea...@gmail.com> wrote: > > On April 12, 2010 10:26:57 pm James Vega wrote: > >> On Mon, Apr 12, 2010 at 02:44:04PM -0400, Filipus Klutiero wrote: > >> > bts is failing the same way on 2 machines on 2 tested: > >> > > >> > $ LANG=C bts tags 407598 - fixed-upstream > >> > User-Agent: devscripts bts/2.10.62: No such file or directory > >> > bts: mail: > >> > chea...@vinci:~$ > >> > > >> > This happens with version 2.10.61 (testing) too. It seems unusable. > >> > I'm not using bts regularly, but it would be surprising that bts was > >> > completely broken. > >> > >> The part of the script in which this occurs is where we fork/exec the > >> mail process. It basically boils down to: > >> > >> printf "tags 407598 - fixed-upstream\nthanks\n" | mail -s "tagging > >> 407598" -a "User-Agent: devscripts bts/2.10.62" cont...@bugs.debian.org > >> > >> Although the above isn't exactly what's happening, does that work? The > >> error message you're getting seems like it may be due to not finding > >> mail, but I'd expect to see more than just "No such file or directory". > > > > It doesn't work. The output for your test was > > User-Agent: devscripts bts/2.10.62: No such file or directory > > > > This happens because mail is provided by heirloom-mailx, for which -a > > means: > > > > -a file > > Attach the given file to the message. > > Interesting. That throws a wrench in the works. Do you know how one > would specify extra mail headers using heirloom-mailx?
I'm afraid not. I wasn't aware of heirloom-mailx's existence 24 hours ago. http://heirloom.sourceforge.net/mailx_history.html has something interesting to say: Portable scripts should either invoke mail without any options or should use the standardized mailx interface. The description of POSIX mailx is available in manpages-posix. I couldn't find a relevant option with a quick look. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org