# popsneakerrc sample file.
#
# Most commands are commented out and the defaults are used.
# Remove the preceding '#', if you want to enable something.
#

#
# Sets the logfile name. Without this no log will be
# written to file.
#
logfile "/var/log/popsneaker.log"

#
# Sets the debuglevel. The levels may change between releases.
# Higher debug levels include the lower ones. 0 is the default.
#
# debuglevel 0          No debug infos.
# debuglevel 1          Writes the reason why a mail was deleted to
#                       the log.
# debuglevel 2          Logs which mail is currently processed,
#                       if it is accepted by a rule or if the
#                       standard acception applies.
# debuglevel 3          Writes connects / disconnects and connection
#                       errors to the log.
# debuglevel 4          Headers used.
# debuglevel 5          Network communication is logged.
#
debuglevel 3

#
# Sets a timeout value for the network connections.
# Default is 300 seconds. Set to 0 to disable timeout.
#
#timeout 300

#
# Sets the number of simultanous connections. 1 is the
# default. You might want to set higher values, if your
# mailservers are slow and have high response times.
# Setting this to 2 - 4 should be reasonable.
#
connections 2

#
# If you want to run in testmode (simulate the deletion of
# mail), uncomment the following line.
#
#testmode on

#
# Setup your mailservers here.
# Syntax: account [options] "<servername>" "<remote name>" "<password>"
#
#account "pop.myisp.com"       "remote_name" "password"
#account "pop.mailservice.net" "remote_name" "password"

#
# You can define a subset of headerlines here, which are used for
# filtering. If you don't do so, all headerlines are checked. This
# is the default and will make no problems. But it speeds things up,
# if you limit the number of lines to process the rules on. If you
# make use of this, you should mention all headers your rules refer
# to. This is not case sensitive.
#
#restrict "from:" "to:" "cc:" "subject:"
#restrict "list-id:" "x-mailing-list:" "message-id:"
#restrict "references:" "in-reply-to:"
#restrict "content-type:"

#
# Enables the check for duplicated mails. Two modes are available.
#
# - "-strict" checks, if mails have the same message-id.
# - "-relaxed" compares the from, subject and size of the mails.
#
# "-strict" is a save decision. "-relaxed" might delete to many mails,
# if someone sends you two mails with the same subject and exactly the
# same size.
#
#dupcheck -strict

#
# Below is an example filterscript. It is ment for inspiration
# only. You should set up your own one here.
#

# Whitelist:
#accept "^From: .*goodfriend"
#accept "^From: .*work\.com"

# First sizelimit (1 MB)
#maxsize 1048576

# Accept replies:
#accept "^References: .*my-domain\.net"
#accept "^In-Reply-To: .*my-domain\.net"

# Accept certain mailinglists:
#accept "^X-Mailing-List: <debian-news@lists\.debian\.org>"
#accept "^List-Id: .*<ixtoolsdepopsneaker-user\.ixtools\.de>"
#
# or alternativly, accept all mailinglists:
#accept "^X-Mailing-List: "
#accept "^List-Id: "

# Greylist (not as good as whitelist members):
#accept "^From: .*johnson"
#accept "^From: .*brandon"
#accept "^From: .*myclub\.com"

# Second sizelimit:
#maxsize 65536

# Blacklist:
#deny "^From: .*spammer\.com"
#deny "^From: .*allforfree\.com"
#deny "^From: .*join-us\.com"

# Keywords:
#deny "^Subject: .*\$\$\$"
#deny -case "^Subject: .*MONEY"
#deny -case "^Subject: .*CREDIT"
#deny -case "^Subject: .*FREE"
#deny -case "^Subject: .*CASH"
#deny -case "^Subject: .*BUY"
#deny -case "^Subject: .* . . . . ."

# Some checks on the Message-ID:
#assume "^Message-ID: .*<.+@.+\..+>"
#deny   "^Message-ID: .*@127\.0\.0\.1"

# No HTML:
#deny "^Content-Type: text/html"

# Mail must be addressed directly to me. Make sure,
# that you accept your mailinglists before this.
#assume "^(to|cc): .*\
#((privat1@my-isp\.com)\
#|(privat2@my-isp\.com)\
#|(iam@work\.com)\
#|(me@freemailer\.net)\
#|(@mydomain\.net))"
