Re: leere E-Mails von Mailingliste (u.a.)
>
> Kannste Deine .procmailrc posten? (oder auch per PM)
Ich hoffe, das kommt an... Hatte jetzt mehrere Anläufe.
PATH=/usr/bin:/bin:/usr/local/bin
MAILDIR=$HOME/mail/
#DEFAULT=$MAILDIR/inbox
LOGFILE=$HOME/.procmaillog
VERBOSE=off
#LOCKFILE=$HOME/.lockmail
##############
## SPAM
##############
# get spamassassin to check emails
:0fhw:
/usr/bin/spamc
# strong spam are discarded
:0
* ^X-Spam-Level: \*\*\*\*\*\*
spam
# weak spam are kept just in case - clear this out every now and then
:0
* ^X-Spam-Level: \*\*\*\*\*
spam
# otherwise, marginal spam goes here for revision
:0
* ^X-Spam-Level: \*\*
spam
:0
* ^X-Spam-Status: Yes
spam
:0hB
* {important|do not
delete|sale|advertise|Viagra|watches|friend|urgent|BANK|bank}
spam
############ BOGOFILTER ##########
:0fw
| bogofilter -u -e -p
:0e
{ EXITCODE=75 HOST }
# file the mail to spam-bogofilter if it's spam.
:0:
* ^X-Bogosity: Yes, tests=bogofilter
spam
##################
## Nervendes
##################
:0 HB
foobarregel
spam
###############################################################
###############################################################
# logcheck
:0
* ^From. *logcheck@hades
logcheck
###############################################################
# root mail
:0
* ^From. *root@hades
logcheck
###############################################################
# debian-announce
:0
* ^X-Mailing-List: <debian-announce@lists.debian.org>
debian-announce
###############################################################
# debian-user-german
:0
* ^X-Mailing-List: <debian-user-german@lists.debian.org>
debian-user-german
###############################################################
# debian-news-german
:0
* ^X-Mailing-Lits: <debian-news-german@lists.debian.org>
debian-news-german
###############################################################
# debian security
:0
* ^X-Mailing-List: <debian-security-announce@lists.debian.org>
debian-security-announce
###############################################################
# ubuntu
:0
* ^To:.*ubuntu\-de@lists\.ubuntu\.com
ubuntu
###############################################################
# Inbox (alles Ungefilterte)
:0
inbox
###############################################################
#EOF
--
Debian GNU/Linux [stable]
PGP-Key Fingerprint: 96F6 ED6F 4DBC 2F83 ED67
2A57 FED9 957B 9AEB C035
Reply to: