##### lm_sympa.rc # # Resource file for procmail. # Filters list messages from lists handled by SYMPA. # See http://www.sympa.org # # Variables, in (set before calling): # LISTNAME list name (between [...] in Subject:); # LISTEMAIL address of list (leave out part after @ and any generic # parts like -return); defaults to LISTNAME # LISTSERVERDOMAIN domain of the list server handling this list # (the part after @) # LISTTO your address to which list emails are sent # LISTFOLDER where to store email if it's from this list; # nothing will be stored if this is empty # LISTFOLDER_UMASK if set, umask to use when saving to LISTFOLDER # PROCDIR directory where the procmail filter files are stored # Variables, returned: # ISTHISLIST set to "1" if email is from this list, unset otherwise # LISTEMAIL unset # # Run with e.g.: # LISTNAME="Weather Discussion" # LISTEMAIL="weatherdisc" # LISTFOLDER=somepath/weather-List # INCLUDERC=yourpath/lm_sympa.rc # in your $HOME/.procmailrc (you can leave out LISTEMAIL if it's the same as # LISTNAME). # # The latest version is always available from: # http://volker.top.geek.nz/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 # 28 Apr 2017 Created, from lm_skeleton.rc-. # ## LISTEMAIL defaults to LISTNAME :0 * LISTEMAIL ?? ^^^^ { LISTEMAIL=$LISTNAME } ## Set ISTHISLIST if match occurs ISTHISLIST= #LSERVERDOM__="" # admin: # Don't know. Have no example email. # list: :0 * $ ^From (owner-$LISTNAME|$LISTNAME-owner|bounce.+$LISTNAME).*@$LISTSERVERDOMAIN * $ ^Sender:.*$LISTNAME(|-request)@$LISTSERVERDOMAIN * $ 1^0 ^Errors-to: $LISTNAME-owner@$LISTSERVERDOMAIN * $ 1^1 ^(Reply-to|To|X-Loop): $LISTNAME@$LISTSERVERDOMAIN * $ 1^0 ^List-Post:.*:$LISTNAME@$LISTSERVERDOMAIN * $ 1^0 ^List-Id: