Bug#479953: Mail headers for automated package maintenance emails

2008-05-12 Thread Peter S Galbraith
Joerg Jaspert <[EMAIL PROTECTED]> wrote:

> b. Every tool sending automated mail to Debian Developers should add
>headers of the form
> 
>  X-Debian: $TOOL
>  X-Debian-Package: $PACKAGE

It's probably too late, but wouldn't have been better to use the
following instead?

 X-Debian-Tool: $TOOL
 X-Debian-Package: $PACKAGE

Thanks,
-- 
Peter



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



Re: Mail headers for automated package maintenance emails

2008-05-12 Thread Domenico Andreoli
On Mon, May 12, 2008 at 01:44:24PM +0200, Raphael Hertzog wrote:
> On Mon, 12 May 2008, Domenico Andreoli wrote:
> > > Afaiui dehs *only* sends emails to [EMAIL PROTECTED],
> > > and the question was whether the pts only adds the header to e-mails
> > > generated by its own scripts or also to stuff received by mail. (I
> > > have no idea whether this even a correct dichotomy)
> > 
> > What about spam sent to [EMAIL PROTECTED] Will it get
> > these headers too?
> 
> The PTS only accepts mails from some trusted source so direct spam won't
> get forwarded. However spams forwarded by the BTS to the PTS will of
> course also get those headers...

Indeed my test message bounced.. not that I did not trust you :p

Thank you,
Domenico

-[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


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



Re: Mail headers for automated package maintenance emails

2008-05-12 Thread Raphael Hertzog
On Mon, 12 May 2008, Domenico Andreoli wrote:
> > Afaiui dehs *only* sends emails to [EMAIL PROTECTED],
> > and the question was whether the pts only adds the header to e-mails
> > generated by its own scripts or also to stuff received by mail. (I
> > have no idea whether this even a correct dichotomy)
> 
> What about spam sent to [EMAIL PROTECTED] Will it get
> these headers too?

The PTS only accepts mails from some trusted source so direct spam won't
get forwarded. However spams forwarded by the BTS to the PTS will of
course also get those headers...

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Domenico Andreoli
On Sun, May 11, 2008 at 09:56:46AM +0200, Andreas Metzler wrote:
> Thijs Kinkhorst <[EMAIL PROTECTED]> wrote:
> > On Sunday 11 May 2008 00:56, Raphael Geissert wrote:
> >> Also for messages coming from other sources, i.e. dehs?
> 
> > Yes, the idea is that such mails have uniform headers. There are no "other" 
> > sources: it works best if every tool that sends automated mails to Debian 
> > package maintainers uses those headers.
> 
> >> Just want to know if I have to make dehs add those headers.
> 
> > "have to" sounds like it's a great ordeal ;-) But yes, please.
> 
> Afaiui dehs *only* sends emails to [EMAIL PROTECTED],
> and the question was whether the pts only adds the header to e-mails
> generated by its own scripts or also to stuff received by mail. (I
> have no idea whether this even a correct dichotomy)

What about spam sent to [EMAIL PROTECTED] Will it get
these headers too?

cheers,
Domenico

-[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Raphael Hertzog
On Sun, 11 May 2008, Thijs Kinkhorst wrote:
> On Sunday 11 May 2008 15:07, Raphael Hertzog wrote:
> > The PTS add those headers to all mails that it forwards. So there's no
> > need to change anything to scripts that only send mails through the PTS.
> 
> How would the PTS know to add a X-Debian: DEHS header to that mail, does it 
> have a list of all tools using it?

It will add "X-Debian: PTS" of course. In the end, if DEHS adds "X-Debian:
DEHS" you will end up with multiple X-Debian fields in the mails forwarded
by the PTS.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Thijs Kinkhorst
On Sunday 11 May 2008 15:07, Raphael Hertzog wrote:
> The PTS add those headers to all mails that it forwards. So there's no
> need to change anything to scripts that only send mails through the PTS.

How would the PTS know to add a X-Debian: DEHS header to that mail, does it 
have a list of all tools using it?


Thijs


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Raphael Hertzog
On Sun, 11 May 2008, Andreas Metzler wrote:
> >> Just want to know if I have to make dehs add those headers.
> 
> > "have to" sounds like it's a great ordeal ;-) But yes, please.
> 
> Afaiui dehs *only* sends emails to [EMAIL PROTECTED],
> and the question was whether the pts only adds the header to e-mails
> generated by its own scripts or also to stuff received by mail. (I
> have no idea whether this even a correct dichotomy)

The PTS add those headers to all mails that it forwards. So there's no
need to change anything to scripts that only send mails through the PTS.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Andreas Metzler
Thijs Kinkhorst <[EMAIL PROTECTED]> wrote:
> On Sunday 11 May 2008 00:56, Raphael Geissert wrote:
>> Also for messages coming from other sources, i.e. dehs?

> Yes, the idea is that such mails have uniform headers. There are no "other" 
> sources: it works best if every tool that sends automated mails to Debian 
> package maintainers uses those headers.

>> Just want to know if I have to make dehs add those headers.

> "have to" sounds like it's a great ordeal ;-) But yes, please.

Afaiui dehs *only* sends emails to [EMAIL PROTECTED],
and the question was whether the pts only adds the header to e-mails
generated by its own scripts or also to stuff received by mail. (I
have no idea whether this even a correct dichotomy)

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


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



Re: Mail headers for automated package maintenance emails

2008-05-11 Thread Thijs Kinkhorst
On Sunday 11 May 2008 00:56, Raphael Geissert wrote:
> Also for messages coming from other sources, i.e. dehs?

Yes, the idea is that such mails have uniform headers. There are no "other" 
sources: it works best if every tool that sends automated mails to Debian 
package maintainers uses those headers.

> Just want to know if I have to make dehs add those headers.

"have to" sounds like it's a great ordeal ;-) But yes, please.


cheers,
Thijs


pgpmYUBYPNj8s.pgp
Description: PGP signature


Re: Mail headers for automated package maintenance emails

2008-05-10 Thread Don Armstrong
On Sat, 10 May 2008, Joerg Jaspert wrote:
> b. Every tool sending automated mail to Debian Developers should add
>headers of the form
> 
>  X-Debian: $TOOL
>  X-Debian-Package: $PACKAGE

The BTS already does the latter using X-Debian-PR-Package: $PACKAGE,
with mails regarding multiple packages separated by commas (possibly
followed by spaces) to the extent that it is possible to identify a
package associated with a bug report or actions taken on bug reports.

I will eventually be duplicating this information in an
X-Debian-Package: header as well, and adding an X-Debian:
bugs.debian.org header as well for convenience, but will be keeping
the existing PR headers intact for the forseeable future.


Don Armstrong

-- 
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot

http://www.donarmstrong.com  http://rzlab.ucr.edu


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



Re: Mail headers for automated package maintenance emails

2008-05-10 Thread Raphael Geissert
Raphael Hertzog wrote:
> 
> The PTS now provides those headers as well.
> 
> X-Debian: PTS
> X-Debian-Package: 

Also for messages coming from other sources, i.e. dehs?

Just want to know if I have to make dehs add those headers.

> 
> Cheers,

Cheers,
Raphael


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



Re: Mail headers for automated package maintenance emails

2008-05-10 Thread Henrique de Moraes Holschuh
On Sat, 10 May 2008, Lionel Elie Mamane wrote:
> >The X-Debian-Package: header can be omitted if it is not possible to
> >name a specific source package for a mail, like when the mail is
> >about multiple packages.
> 
> One could consider several X-Debian-Package headers when it is about
> multiple packages, or a list of packages in a single header.

comma-and-blanks-separated list, please.  But should the package
information be unavailable or should it not make sense to relate the
email to a package or group of packages, then the header should be
ommited.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


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



Re: Mail headers for automated package maintenance emails

2008-05-10 Thread Raphael Hertzog
Hi,

On Sat, 10 May 2008, Joerg Jaspert wrote:
>  X-Debian: $TOOL
>  X-Debian-Package: $PACKAGE
> 
[...]
> As a starting point, and as one tool generating lots of mail to
> maintainers, DAK is already generating both headers, other tools
> hopefully follow soon.

The PTS now provides those headers as well.

X-Debian: PTS
X-Debian-Package: 

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Mail headers for automated package maintenance emails

2008-05-09 Thread Lionel Elie Mamane
On Sat, May 10, 2008 at 12:45:49AM +0200, Joerg Jaspert wrote:

> b. Every tool sending automated mail to Debian Developers should add
>headers of the form

>  X-Debian: $TOOL
>  X-Debian-Package: $PACKAGE

>The X-Debian-Package: header can be omitted if it is not possible to
>name a specific source package for a mail, like when the mail is
>about multiple packages.

One could consider several X-Debian-Package headers when it is about
multiple packages, or a list of packages in a single header.

-- 
Lionel


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