DROPPRIVS=yes MAILDIR=/var/spool/virtual/$ER_DOMAIN/$ER_USER/ DEFAULT=/var/spool/virtual/$ER_DOMAIN/$ER_USER/ VERBOSE=no LOGFILE=/var/log/procmail.log # # We want those not to avoid mailing-list parsers # :0 * ^X-Notifications: $DEFAULT # # Calls itslef a spam # :0 * ^X-Campaign: .list-ABUSE/ :0 * ^X-Report-Abuse: .list-ABUSE/ :0 * ^X-CSA-Complaints: .list-ABUSE/ :0 * ^X-Feedback-ID: .list-ABUSE/ :0 * ^X-MailingID: .list-ABUSE/ # # Mailing-list parsers # # "Alpine-info" # "Discuss-gnuradio" # --> now rather catched by list-id # drbd-announce-bounces@lists.linbit.com # drbd-user-bounces@lists.linbit.com :0 * ^Sender: .*]+) { SENDERID=$MATCH :0 * SENDERID ?? (owner-|-owner|-bounces) .lists.${MATCH}/ } # List-ID and friends: "name" --> becomes some # "GNU Radio, the Free & Open-Source Toolkit for Software Radio" :0 * ^(List-ID|List-Id|X-(Mailing-)?List): .*<\/([^+@\.>]+) .lists.${MATCH}/ # X-Sender here and not ABUSE otherwise it gets precedence :0 * ^(Sender|List-ID|List-Id|List-Unsubscribe|Feedback-ID|Feedback-Id|X-Sender|X-(Mailing-)?List): .* .listloose/ # STS & TLSRPT :0 * ^TLS-Report-Domain: .* .lists.sslreports/ # w/o @ for slackware's run-parts stderr # postfix errors are sent to postmaster :0 * ^To: (root|postmaster) ._cron/ :0 * ! $ ^(To|Cc):.*$ER_USER@$ER_DOMAIN .Bcc/