[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: Bug in mailer.py
From:       olli hauer <ohauer () gmx ! de>
Date:       2013-02-19 6:07:52
Message-ID: 512316B8.60302 () gmx ! de
[Download RAW message or body]

On 2013-02-18 22:51, Daniel Shahaf wrote:
> r1447513 fixes the bug you originally reported, Nick.
> 
> Peelman, Nick wrote on Mon, Feb 18, 2013 at 16:40:57 -0500:
>> While you're in there :)
>>
>> I was seeing a few more spam points than i liked, and a coupe of them were easy fixes:
>>
>>    def mail_headers(self, group, params):
> 
> Can you send this as a proper unidiff (`svn diff` output) against
> mailer.py@HEAD?
> 
> See http://subversion.apache.org/patches for a few other recommendations
> that make our lives easier.
> 
> Thanks,
> 
> Daniel
> 

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic