The following commit has been merged in the master branch:
commit 1ff06ba16f86c33c4281217801c2f05c99c5525c
Author: James Vega <[email protected]>
Date: Mon Jun 14 23:19:23 2010 -0400
bts: Document $(DEB)EMAIL requirement for --mutt/--smtp-host
Closes: #578334
diff --git a/debian/changelog b/debian/changelog
index dd341cf..1f0cbd9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ devscripts (2.10.65) UNRELEASED; urgency=low
[ James Vega ]
* Remove mergechanges from the set of commands which use completion of
package names. (Closes: #578167)
- * bts: Use sendmail to send mails with extra headers when $(DEB)EMAIL aren't
- present. (Closes: #577564)
+ * bts:
+ + Use sendmail to send mails with extra headers when $(DEB)EMAIL aren't
+ present. (Closes: #577564)
+ + Document that $(DEB)EMAIL must be in the environment to send email using
+ either --mutt or --smtp-host. (Closes: #578334)
[ Martin Zobel-Helas ]
* Remove svk from Recommends, it is no longer in the archive. (Closes:
diff --git a/scripts/bts.pl b/scripts/bts.pl
index 158b091..58ff701 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -284,8 +284,11 @@ SENDMAILCMD, for example: --sendmail="/usr/sbin/mymailer
-t"
=item --mutt
-Use mutt for sending of mails. Default is not to use mutt,
-except for some commands.
+Use mutt for sending of mails. Default is not to use mutt, except for some
+commands.
+
+Note that one of $DEBEMAIL or $EMAIL must be set in the environment in order
+to use mutt to send emails.
=item --no-mutt
@@ -300,6 +303,9 @@ The host name may be followed by a colon (":") and a port
number in
order to use a port other than the default. It may also begin with
"ssmtp://" or "smtps://" to indicate that SMTPS should be used.
+Note that one of $DEBEMAIL or $EMAIL must be set in the environment in order
+to use direct SMTP connections to send emails.
+
Note that when sending directly via an SMTP host, specifying addresses in
--cc-addr or BTS_DEFAULT_CC that the SMTP host will not relay will cause the
SMTP host to reject the entire mail.
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].