, <netbsd-bugs@netbsd.org>
From: Jean-Luc Wasmer <jl.netbsd@wasmer.ca>
List: netbsd-bugs
Date: 01/31/2003 14:01:14
Hi,
It seems that the default mail(1) command in the CVSROOT/notify file:
ALL mail %s -s "CVS notification"
should have the recipient address at the end of the option list in order to work with
NetBSD.
ALL mail -s "CVS notification" %s
vega# echo "Mail body" | mail jlwasmer -s "Mail subject"
vega# subject... User unknown
Mail... User unknown
collect: Cannot write ./dfh0VIAHV09679 (bfcommit, uid=2001): Permission denied
queueup: cannot create queue temp file ./tfh0VIAHW09679, uid=2001: Permission denied
vega# echo "Mail body" | mail -s "Mail subject" jlwasmer
vega#
I'm not sure (because the test fails for other reasons) but
echo "Mail body" | mail jlwasmer -s "Mail subject"
seems to work on a RH Linux system.
So, is this a bug or a bad usage of mail(1)?
JL