From 6077d258b500b20e1e705f5cda567400240c7804 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 11:36:25 +0200 Subject: Adding upstream version 2.21.3+deb11u1. Signed-off-by: Daniel Baumann --- examples/debian.procmail | 100 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 examples/debian.procmail (limited to 'examples/debian.procmail') diff --git a/examples/debian.procmail b/examples/debian.procmail new file mode 100644 index 0000000..51455f5 --- /dev/null +++ b/examples/debian.procmail @@ -0,0 +1,100 @@ +# debian.procmail - Debian mailing list sorting procmail file. +# Copyright (C) 1999 Edward Betts +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian GNU/Linux systems, the complete text of the GNU General +# Public License can be found in `/usr/share/common-licenses/GPL'. + +# Instructions + +# To use this file either copy it to ~/.procmailrc or use INCLUDERC to load it. +# Read the procmail, procmailrc, procmailex and procmailsc for more +# information. + +# Configuration + +# This files assumes that you are using standard mailbox file format to save +# your mail. You may change the directories that these variables point to, but +# the directories exist for this rcfile to function correctly. + +#MAILDIR=~/Mail # Uncomment if in needed +DEBIAN=debian # Directory for debian mailing lists +DC_INSTALLER=$DEBIAN/installer # New Debian Packages directory +DC_DIR=$DEBIAN/changes-other # Directory for debian-changes +DDC_DIR=$DEBIAN/devel-changes-other # Directory for debian-devel-changes + +# These variables are used to control the sorting of the debian-changes and +# debian-devel-changes list. It is likely that you will want to change them. + +ARCHS=alpha|arm|m68k|powerpc|sparc # Archs that do not interest me +PACKAGES=colortail|esh|vh|x2vnc|sniffit # Packages on other archs of interest + +# The Debian changes and Debian development changes mailing lists are special +# cases. Architectures that are not of any real interest, specified using the +# $ARCHS variable are separated out into mailboxes named after the +# architectures. They are stored in the directory specified by $DC_DIR for the +# Debian changes mailing lists and $DDC_DIR for the Debian development changes +# mailing lists. +# +# However the uploads and installs of some packages on all architectures may +# be of interest. These packages can be specified using the $PACKAGES +# variable. I use it for the packages I maintain so I can see when they have +# been built on other architectures. +# +# Note: See the master.procmail script if you are short of bandwidth and do +# not want these messages to even reach your machine. If master.procmail is in +# use the recipes should never be true, unless the $PACKAGES and $ARCHS +# variables are different on master than locally. + +:0 +* ^X-Mailing-List: +* $^Subject: Accepted .+ \(($ARCHS )*($ARCHS)\) to .+ +* !$^Subject: Accepted ($PACKAGES) .+ +* ^Subject: Accepted .+ \(\/[-a-zA-Z0-9]+ +$DC_DIR/$MATCH + +:0 +* ^X-Mailing-List: +* $^Subject: Accepted .+ \(($ARCHS )*($ARCHS)\) to .+ +* !$^Subject: Accepted ($PACKAGES) .+ +* ^Subject: Accepted .+ \(\/[-a-zA-Z0-9]+ +$DDC_DIR/$MATCH + +# Sort debian mailing lists into mailboxes under $DEBIANDIR. This dynamic +# style means when subscribing to new Debian mailing lists no changes need be +# made to this file. Even as yet none existent mailing lists are catered for. + +:0: +* ^X-Mailing-List: +* ^X-Mailing-List: