[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug in mailer.py

From: olli hauer <ohauer_at_gmx.de>
Date: Tue, 19 Feb 2013 07:56:10 +0100

On 2013-02-19 07:44, Daniel Shahaf wrote:
> Will this break any use-cases? (eg: do some people send commit mails to
> mailing lists configured to reject Precedence:bulk inbound mails?)
>
> Would it be better to allow the user to set arbitrary headers? Example
> UI for mailer.py.conf:
>
> [headers]
> Precedence: bulk
> X-SVN-Id: %(repos_basename)s %(revnum)s %(date)s %(author)s
>

I totally agree, thats the better way.

Regards,
olli

> olli hauer wrote on Tue, Feb 19, 2013 at 07:07:52 +0100:
>> I also have a small patch on my wish-list ...
>>
>> o add rfc2076 header (Precedence: bulk)
>> o add rfc3834 header (Auto-Submitted: auto-generated)
>> (this header is already honored by dovecot2)
>> o add special header for MS Exchange
>> (http://msdn.microsoft.com/en-us/library/ee219609%28v=EXCHG.80%29.aspx)
>>
>>
>> Index: tools/hook-scripts/mailer/mailer.py
>> ===================================================================
>> --- tools/hook-scripts/mailer/mailer.py (revision 1447596)
>> +++ tools/hook-scripts/mailer/mailer.py (working copy)
>> @@ -246,9 +246,12 @@
>> hdrs = 'From: %s\n' \
>> 'To: %s\n' \
>> 'Subject: %s\n' \
>> + 'Precedence: bulk\n' \
>> + 'Auto-Submitted: auto-generated\n' \
>> 'MIME-Version: 1.0\n' \
>> 'Content-Type: text/plain; charset=UTF-8\n' \
>> 'Content-Transfer-Encoding: 8bit\n' \
>> + 'X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply\n' \
>> 'X-Svn-Commit-Project: %s\n' \
>> 'X-Svn-Commit-Author: %s\n' \
>> 'X-Svn-Commit-Revision: %d\n' \
>>
>>
>> Regards,
>> olli
>
Received on 2013-02-19 09:10:09 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.