procmail setup

Spiros Bolis sbolis at freemail.gr
Thu Sep 14 16:53:42 EEST 2006


On Thu, 14 Sep 2006, Giorgos Keramidas wrote:

> Mporouses apla na mou peis "de mou dineis kai kana procmailrc mazi me
> olo to prhksimo?".
>
>    # Configuration file for filtering my mail with procmail.
>    #
>    # Copyright (C) 1999-2005, Giorgos Keramidas <keramida at FreeBSD.org>
>    # All rights reserved.
pw, pw... ton eixes to header 'h twra ton ebales gia moyrh?

ante, na kai to diko moy (basika elpizw na to dei o keramidas kai na moy
kanei kamia parathrhsh gia na to beltiwsw, oxi na moy thn pei ;-) )


# Please check if all the paths in PATH are reachable, remove the ones that
# are not.

PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail	# You'd better make sure it exists
#DEFAULT=$MAILDIR/main
LOGFILE=$MAILDIR/from
#LOCKFILE=$MAILDIR/.lockmail
LOCKFILE=/home/sbolis/Mail/.lockmail
#VERBOSE=on


# by sbolis on Thu Jul  1 12:59:45 EEST 2004
:0fw
| /home/sbolis/.clamassassin/clamassassin.dist

:0:
* ^X-Virus-Status: Yes
VIRUS

:0fw
| /usr/bin/spamassassin

:0e
{
         EXITCODE=$?
}

# Apo th selida toy spamassassin.apache.org
#-------------------
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#:0:
#* ^X-Spam-Status: Yes
#probably-spam

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
:0
* ^^rom[ ]
{
   LOG="*** Dropped F off From_ header! Fixing up. "

   :0 fhw
   | sed -e '1s/^/F/'
}


:0: 
* ^X-Spam-Flag:\ YES
SPAM

:0: 
* ^Subject:.*Spam.*not.*delivered
SPAM

:0: 
* ^Subject:.*Possible.*Spam.*
SPAM

# my old brutal antivirus!
#INCLUDERC = /home/sbolis/virussnag161a.rc

:0:
* ^TO_legal at lists\.gpl-violations\.org
gpl-violation-legal

:0:
* ^TO_legal at lists\.gnumonks\.org
gpl-violation-legal

:0:
* ^TO_tech at lists\.gpl-violations\.org
gpl-violation-tech

:0:
* ^TO_tech at lists\.gnumonks\.org
gpl-violation-tech

:0:
* ^TO_jornada at handhelds\.org
jornada

:0:
* ^From:.*admin at awmn\.net
admin at awmn

:0:
* ^TO_epatents at lists\.hellug\.gr
epatents

:0:
* ^TO_linux-greek-users at lists\.hellug\.gr
linux-greek-users

:0:
* ^TO_linux-greek-users at hellug\.gr
linux-greek-users

:0: 
* ^Subject:.*Password.*Change.*Success
changepass

:0:
* ^Subject:[    ]*!BB
BiGBrother

:0:
* ^From:[       ]*.Email Virus Scanner
Virus_Scanner

:0: 
* ^Subject:.*Invalid.*Password.*Change
changepass

:0:
* ^TO_webmaster
webmaster

:0:
* ^Subject:.*GEANT.*
GEANT

:0:
* ^TO_i18ngr at hellug\.gr
i18ngr

:0:
* ^TO_i18ngr at lists\.hellug\.gr
i18ngr


:0:
* ^TO_root@
root

:0
* ^TO_herlug-owner at lists\.hellug\.gr
herlug-admin

# Anything below goes to mycosmos!
# ---------------------------------------------
:0hc
##.*
!XXXXX at mycosmos.gr

:0
* ^TO_public at lists\.hellug\.gr
public at hellug

:0
* ^TO_discussion at digitalrights\.gr
discussion at digitalrights.gr

:0
* ^TO_public at hellug\.gr
public at hellug

:0
* ^TO_hellug at lists\.hellug\.gr
hellug

:0
* ^TO_hellug at hellug\.gr
hellug

:0
* ^TO_board at hellug\.gr
board

:0:
* ^TO_sysadms at hellug\.gr
sysadms at hellug

# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT




More information about the Linux-greek-users mailing list