Steve,

You are in at least partial luck. I think I have found your answer. I haven't tried it, because I do need the message attachment sent on my lists.

In <mailmandir>/Mailman/Handlers, there is a file called Hold.py. From judicial use of grep, it is the only file that references 'postauth.txt', which has the text of the moderation message in it.

If you edit this file, and go to the very end, you will see
'#Now the message for the list owners ...'

Below that, 'dmsg' is created and populated. This is the special confirmation message with the long message identifier in the Subject.

Below that, are three calls to 'nsmg.attach'.

The one reading 'nmsg.attach(MIMEMessage(msg))' is the part where the actual message being moderated is attached.

Therefore, I conclude that commenting out that line will prevent the notification message from having the original message as an attachment.

What do you think?

Try it and tell us if it works.

Steve Werby wrote:

I'm a long-time Mailman admin/user and a number of list admins on a server I
administer have requested removal of the message body attachment in the
immediate notifications.  Apparently the vast majority of the approval
requests are spam and due to the effect of the email on their local
anti-spam software and dislike of the ramifications of their MUA loading
embedded visible images and web bugs, they'd prefer to get the
notifications, just without the body attached.


--

John DeCarlo, My Views Are My Own




------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to