%PDF- %PDF-
Direktori : /lib/mailman/Mailman/Handlers/ |
Current File : //lib/mailman/Mailman/Handlers/AvoidDuplicates.pyo |
� ��ac @ s} d Z d d l m Z m Z d d l m Z d d l m Z d Z y e e f Wn e k ro d Z d Z n Xd � Z d S( sr If the user wishes it, do not send duplicates of the same message. This module keeps an in-memory dictionary of Message-ID: and recipient pairs. If a message with an identical Message-ID: is about to be sent to someone who has already received a copy, we either drop the message, add a duplicate warning header, or pass it through, depending on the user's preferences. i����( t getaddressest formataddr( t mm_cfg( t change_headers , i i c C sG | d } | s d Si } | j � | j � | j � | j � g } x | D] } t | | j � <qK Wi } x� d D]� } t | j | g � � } | d k r� x- | D]"