##### lm_sourceforge.rc # # Resource file for procmail. # Filters list messages from lists hosted at SourceForge. # # Variables, in (set before calling): # LISTNAME list name (between [...] in Subject:); # LISTFOLDER_SF where to store email if it's from this list; # defaults to "$THISLISTS/$LISTNAME-List" # PROCDIR directory where the procmail filter files are stored # [plus whatever lm_mailman.rc needs] # Variables, returned: # ISTHISLIST set to "1" if email is from this list, unset otherwise # LISTFOLDER unset # [plus whatever lm_mailman.rc does] # # Run with e.g.: # LISTNAME="topic-discuss" # INCLUDERC=$PROCDIR/lm_sourceforge.rc # in your $HOME/.procmailrc. # # The latest version is always available from: # http://volker.dnsalias.net/soft/procmail/ # # Copyright (C) by Volker Kuhlmann # Released under the terms of the GNU General Public License (GPL) Version 2. # See http://www.gnu.org/ for details. # # Volker Kuhlmann # 9, 18, 30 Jan 2004 # 1 Oct 2007 # ## LISTFOLDER defaults to $THISLISTS/$LISTNAME-List, or is set to ## $LISTFOLDER_SF otherwise # We have to use LISTFOLDER_SF, or else all lm_*.rc filters have to unset # LISTFOLDER, otherwise mail will be saved to the previous list's LISTFOLDER. :0 * ! LISTEMAIL ?? ^^^^ { LISTFOLDER=$THISLISTS/$LISTEMAIL-List } :0 E { LISTFOLDER=$THISLISTS/$LISTNAME-List } :0 * ! LISTFOLDER_SF ?? ^^^^ { LISTFOLDER=$LISTFOLDER_SF } ## Sourceforge lists domain LISTSERVERDOMAIN="lists.sourceforge.net" INCLUDERC=$PROCDIR/lm_mailman.rc LISTFOLDER= ##### EOF lm_sourceforge.rc