Bug#578334: devscripts: bts is using sendmail/exim even though --smtp-host is used

2010-04-18 Thread Chaskiel Grundman
Package: devscripts
Version: 2.10.61
Severity: normal

My MTA is not configured to send non-local mail because it's usually on a dsl
network. Instead, all my MUA's use smtp auth to a server at my employer.

bts doesn't seem to be honoring this anymore:

If I run it like so (or with stuff configured in ~/.devscripts):
$ bts --smtp-host=smtps://smtp.andrew.cmu.edu --smtp-username=cg2v subscribe  
577809
Null message body; hope that's ok

The message is submitted via exim and bounces:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  577809-subscr...@bugs.debian.org
Mailing to remote domains not supported



-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
BTS_SMTP_HOST=smtps://smtp.andrew.cmu.edu

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (989, 'testing'), (50, 'unstable'), (49, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  dpkg-dev  1.15.5.6   Debian package development tools
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  perl  5.10.1-11  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at 3.1.12-1  Delayed job execution and batch pr
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  curl   7.20.0-3+b1   Get a file from an HTTP, HTTPS or 
ii  cvs1:1.12.13-12  Concurrent Versions System
ii  dctrl-tools2.14  Command-line tools to process Debi
ii  debian-keyring [de 2010.03.31GnuPG (and obsolete PGP) keys of D
ii  dput   0.9.5.1   Debian package upload tool
ii  elinks [www-browse 0.12~pre5-2   advanced text-mode WWW browser
ii  epiphany-browser [ 2.29.3-1  Intuitive GNOME web browser
ii  equivs 2.0.8 Circumvent Debian package dependen
ii  fakeroot   1.14.4-1  Gives a fake root environment
ii  git-core   1:1.7.0-1 fast, scalable, distributed revisi
ii  gnupg  1.4.10-2  GNU privacy guard - a free PGP rep
ii  iceweasel [www-bro 3.5.9-2   Web browser based on Firefox
ii  libauthen-sasl-per 2.14-1Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-pe 0.57-2Support for https protocol in LWP
ii  libparse-debcontro 2.005-2   Easy OO parsing of Debian control-
ii  libsoap-lite-perl  0.711-1   Perl implementation of a SOAP clie
ii  libterm-size-perl  0.2-4+b1  Perl extension for retrieving term
ii  libtimedate-perl   1.2000-1  collection of modules to manipulat
ii  liburi-perl1.54-1module to manipulate and access UR
ii  libwww-perl5.834-1   Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl  1.07-1fast, lightweight YAML loader and 
ii  lintian2.3.4 Debian package checker
ii  lsb-release3.2-23Linux Standard Base version report
ii  lynx-cur [www-brow 2.8.8dev.2-1  Text-mode WWW Browser with NLS sup
ii  lzma   4.43-14   Compression method of 7z format in
ii  man-db 2.5.7-2   on-line manual pager
ii  mercurial  1.4.1-1+b1scalable distributed version contr
ii  openssh-client [ss 1:5.3p1-3 secure shell (SSH) client, for sec
ii  patch  2.6-2 Apply a diff file to an original
ii  patchutils 0.3.1-2   Utilities to work with patches
ii  sensible-utils 0.0.2 Utilities for sensible alternative
ii  strace 4.5.19-2  A system call tracer
ii  subversion 1.6.9dfsg-1   Advanced version control system
ii  svk2.0.2-3   A Distributed Version Control Syst
ii  unzip  6.0-4 De-archiver for .zip files
ii  w3m [www-browser]  0.5.2-4   WWW browsable pager with excellent
ii  wdiff  0.5-21Compares two files word by word
ii  wget   1.12-1.1  retrieves files from the web
ii  xemacs21-mule [www 21.4.22-3 highly customizable text editor --

Versions of packages devscripts suggests:
ii  build-essential   11.4   Informational list of build-essent
pn  cvs-buildpackage  none (no description available)
pn  devscripts-el none (no description available)
ii  gnuplot   4.4.0-1A command-line driven interactive 
pn  

Bug#578334: devscripts: bts is using sendmail/exim even though --smtp-host is used

2010-04-18 Thread James Vega
On Sun, Apr 18, 2010 at 07:49:52PM -0400, Chaskiel Grundman wrote:
 My MTA is not configured to send non-local mail because it's usually on a dsl
 network. Instead, all my MUA's use smtp auth to a server at my employer.
 
 bts doesn't seem to be honoring this anymore:

It's doing this because you don't have either of $DEBEMAIL (and
$DEBFULLNAME) or $EMAIL set in your environment.  We need one of those
set in order to craft the From header for the email that gets sent.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@debian.org


signature.asc
Description: Digital signature