Camberwell wrote:
>
>i have added that line to my mm_cfg.py and it works perfectly thankyou 
>very much. sorry i'm not brilliant at python but how might i go about 
>removing the signatures in ToOutgoing.py. your first solution works fine 
>for me as my list will never be anonymous so thanks again


You could add the following (watch out for wrapped lines)

    # Remove any "DomainKeys" (or similar) header lines.  The values
contained
    # in these header lines are intended to be used by the recipient to
detect
    # forgery or tampering in transit, and the modifications made by
Mailman
    # to the headers and body of the message will cause these keys to
appear
    # invalid.  Removing them will at least avoid this misleading
result, and
    # it will also give the MTA the opportunity to regenerate valid keys
    # originating at the Mailman server for the outgoing message.
    del msg['domainkey-signature']
    del msg['dkim-signature']

immediately following the line

def process(mlist, msg, msgdata):

in Mailman/Handlers/ToOutgoing.py.

Note to developers:

It seems we should move this from Cleanse.py to ToOutgoing.py for
exactly the reasons expressed earlier in this thread, but I'm a little
uneasy about mucking with headers in ToOutgoing as that isn't its
purpose. Any comments?

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to