[Pkg-mailman-hackers] Bug#644940: mailman: On moderation bad message sent to sender.

Jan Matejka moskyto at atrey.karlin.mff.cuni.cz
Mon Oct 10 22:13:13 UTC 2011


Package: mailman
Version: 1:2.1.14-3
Severity: normal
Tags: patch

Dear Maintainer,
When a user sends a mail and it is moderated, there are two separate messages
to be sent. One, reason, is to be sent to the moderator. The second, rejection,
should be sent to the author of the message, I think. But the reason is sent
also to the sender, instead.
This patch may be applied on /usr/lib/mailman/Mailman/Handlers/Hold.py to fix
the issue.

229c229
<          'reason'     : _(reason),
---
>          'reason'     : _(msgdata['rejection_notice']),

Yours sincerely
Jan Moskyto Matejka

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailman depends on:
ii  apache2                      2.2.21-1   
ii  apache2-mpm-prefork [httpd]  2.2.21-1   
ii  cron                         3.0pl1-120 
ii  debconf [debconf-2.0]        1.5.40     
ii  libc6                        2.13-21    
ii  logrotate                    3.7.8-6    
ii  lsb-base                     3.2-28     
ii  pwgen                        2.06-1+b1  
ii  python                       2.7.2-8    
ii  ucf                          3.0025+nmu2

Versions of packages mailman recommends:
ii  postfix [mail-transport-agent]  2.8.3-1

Versions of packages mailman suggests:
ii  listadmin     2.40-4      
ii  lynx          2.8.8dev.9-2
ii  spamassassin  3.3.2-2     

-- debconf information:
* mailman/site_languages: en
* mailman/used_languages: en
* mailman/create_site_list:
* mailman/queue_files_present: continue regardless
* mailman/default_server_language: en
  mailman/gate_news: false
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20111011/c56caef2/attachment.pgp>


More information about the Pkg-mailman-hackers mailing list