# # lists.rc, by Thomas Hurst # # INCLUDERC this in your .procmailrc and your list mail should magically # appear in lists/$listname # # The sed -e prevents /'s being used in list names, which would be a nasty # hole.. # ############################################################################### # rfc2396 # Assume format: :0: * ^List-Id: [^<]*<\/[^\.]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` # Yahoo Groups :0: * ^Mailing-List: list \/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` # Ecartis :0: * ^X-list: \/.+ lists/`echo $MATCH |sed -e 's/[\/]/_/g'` # fml :0: * ^X-ML-Name: \/.+ lists/`echo $MATCH |sed -e 's/[\/]/_/g'` # Various others :0: * ^Sender: owner-\/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` :0: * ^X-BeenThere: \/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` :0: * ^Delivered-To: mailing list \/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` :0: * ^X-Mailing-List: <\/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'` :0: * ^X-Loop: \/[^@]+ lists/`echo $MATCH | sed -e 's/[\/]/_/g'`