On Mon, 2007-07-16 at 23:17 +0200, Kurt Roeckx wrote:
> On Mon, Jul 16, 2007 at 09:34:48PM +0100, Adam D. Barratt wrote:
> > Hi,
> > 
> > On Mon, 2007-07-16 at 22:10 +0200, Kurt Roeckx wrote:
> > > It seems that all bts commands that send a mail also send a mail to "".
> > > This then results in postfix trying to send a mail to [EMAIL PROTECTED] 
> > > domain
> > > 
> > > I've seen such messages with atleast the following commands:
> > > bts tag
> > > bts reassign
> > 
> > Could you please try running bts in debug mode and send the result to
> > the bug log? From your description it sounds as though an empty Cc: is
> > being passed to the mailer, but that shouldn't happen.
> > 
> > For example, "DEBUG=1 bts tag 1234 patch". No mail will actually be
> > sent, but the contents of the generated mail will be output.
> 
> Not sure why you think this is useful, but here it is:
> [EMAIL PROTECTED]:~$ DEBUG=1 bts tag 1234 patch
> # Automatically generated email from bts, devscripts version 2.10.6
> tags 1234 patch

It was useful to the extent that it demonstrated which part of the send
mail code you were using. Specifically, the code used when neither
$EMAIL nor $DEBEMAIL are set. If they are, the output is along the lines
of

        From: Adam D. Barratt <[EMAIL PROTECTED]>
        To: [EMAIL PROTECTED]
        Subject: tagging 1234
        Date: Mon, 16 Jul 2007 22:31:35 +0100
        X-BTS-Version: 2.9.6
        Message-ID: <[EMAIL PROTECTED]>
        
        # Automatically generated email from bts, devscripts version
        2.9.6
        tags 1234 patch
        
For what it's worth, an strace here shows

        pid  4122] execve("/usr/sbin/sendmail", ["send-mail", "-i",
        "--", "", "control@
        bugs.debian.org"], [/* 17 vars */]) = 0

which does not generate the extra message. Admittedly that's with exim
rather than postfix.

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to