account "tmux" imaps server "host" user "tobiasu" pass "password" account "spam-box" maildir "%h/mail/.spam.train" # Actions action "inbox" maildir "%h/mail" action "friends" maildir "%h/mail/.friends" action "tendra-dev" maildir "%h/mail/.tendra-dev" action "edri" maildir "%h/mail/.edri" action "fitug" maildir "%h/mail/.fitug" action "nanog" maildir "%h/mail/.nanog" action "cryptogram" maildir "%h/mail/.cryptogram" action "bibliothek" maildir "%h/mail/.bibliothek" action "arcor" maildir "%h/mail/.arcor" action "obsd-advocacy" maildir "%h/mail/.openbsd.advocacy" action "obsd-alpha" maildir "%h/mail/.openbsd.alpha" action "obsd-arm" maildir "%h/mail/.openbsd.arm" action "obsd-bugs" maildir "%h/mail/.openbsd.bugs" action "obsd-hppa" maildir "%h/mail/.openbsd.hppa" action "obsd-ipv6" maildir "%h/mail/.openbsd.ipv6" action "obsd-mac68k" maildir "%h/mail/.openbsd.mac68k" action "obsd-misc" maildir "%h/mail/.openbsd.misc" action "obsd-ports" maildir "%h/mail/.openbsd.ports" action "obsd-ports-changes" maildir "%h/mail/.openbsd.ports-changes" action "obsd-ppc" maildir "%h/mail/.openbsd.ppc" action "obsd-source-changes" maildir "%h/mail/.openbsd.source-changes" action "obsd-sparc" maildir "%h/mail/.openbsd.sparc" action "obsd-tech" maildir "%h/mail/.openbsd.tech" action "obsd-vax" maildir "%h/mail/.openbsd.vax" action "obsd-www" maildir "%h/mail/.openbsd.www" action "obsd-x11" maildir "%h/mail/.openbsd.x11" action "sec-bugtraq" maildir "%h/mail/.security.bugtraq" action "sec-fd" maildir "%h/mail/.security.full-disclosure" action "sec-secunia" maildir "%h/mail/.security.secunia" action "suck-wmii" maildir "%h/mail/.suckless.wmii" action "suck-dwm" maildir "%h/mail/.suckless.dwm" action "spam-new" maildir "%h/mail/.spam.new" action "spam-train" maildir "%h/mail/.spam.train" action "spam-archive" mbox "%h/mail/archive/trained-spam" action "drop" drop action "bf-unreg-nospam" rewrite "bogofilter -e -p -N" action "bf-reg-spam" rewrite "bogofilter -e -p -s" action "bf-update" rewrite "bogofilter -e -p -u" action "strip-bullshit" rewrite "reformail -IX-HE-Virus-Scanned: -IX-HE-Spam-Level: -IX-HE-Spam-Score: -IX-HE-Spam-Report: -IX-Antivirus-Scanner: -IX-AntiAbuse: -IX-Spam: -IX-SPAM-FLAG: -IX-Virus-Scanned: -IX-ELNK-Trace: -IX-Converted-To-Plain-Text: -IX-Priority: -IX-Greylist: -IX-OriginalArrivalTime: -IX-Sun-Charset: -IX-MSMail-Priority: -IImportance: -IX-MimeOLE: -IPriority:" action "strip-fd" rewrite "sed 's/^\\(Subject:.*\\)\\[Full-disclosure\\] /\\1/'" # spam-box rules match account "spam-box" { match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match "^X-MySecretSpamHeader: No" in headers action "bf-unreg-nospam" continue match all action "bf-reg-spam" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match all action "bf-reg-spam" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match all action "bf-reg-spam" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match all action "bf-reg-spam" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match all action "bf-reg-spam" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-archive" match all action "bf-reg-spam" continue # ok, we've tried 5 times, just put the thing into the spam archive match all action "spam-archive" } # tmux rules match all action "strip-bullshit" continue match all action "bf-update" continue match "^X-MySecretSpamHeader: Yes" in headers action "spam-new" match "^sender: owner.*@openbsd\\.org" in headers { match "^sender:.*advocacy" in headers action "obsd-advocacy" match "^sender:.*alpha" in headers action "obsd-alpha" match "^sender:.*arm" in headers action "obsd-arm" match "^sender:.*bugs" in headers action "obsd-bugs" match "^sender:.*hppa" in headers action "obsd-hppa" match "^sender:.*ipv6" in headers action "obsd-ipv6" match "^sender:.*mac68k" in headers action "obsd-mac68k" match "^sender:.*misc" in headers action "obsd-misc" match "^sender:.*ports-changes" in headers action "obsd-ports-changes" # first! match "^sender:.*ports" in headers action "obsd-ports" match "^sender:.*ppc" in headers action "obsd-ppc" match "^sender:.*source-changes" in headers action "obsd-source-changes" match "^sender:.*sparc" in headers action "obsd-sparc" match "^sender:.*tech" in headers action "obsd-tech" match "^sender:.*vax" in headers action "obsd-vax" match "^sender:.*www" in headers action "obsd-www" match "^sender:.*x11" in headers action "obsd-x11" } match "^from: secunia security advisories <sec-adv@secunia\\.com" in headers action "sec-secunia" match "^list-post: <mailto:full-disclosure@lists\\.grok\\.org\\.uk>" in headers or "^list-id: <bugtraq\\.list-id\\.securityfocus\\.com>" in headers { match "^subject:.*\\[full-disclosure\\]" in headers action "strip-fd" continue match "^subject: \\[ glsa" in headers action "drop" match "^subject: \\[usn-" in headers action "drop" match "^subject: \\[ mdksa" in headers action "drop" match "^subject: \\[security\\] \\[dsa" in headers action "drop" match "^from:.*announce-noreply@rpath\\.com" in headers action "drop" match "^list-post: <mailto:full-disclosure@lists\\.grok\\.org\\.uk>" in headers action "sec-fd" match "^list-id: <bugtraq\\.list-id\\.securityfocus\\.com>" in headers action "sec-bugtraq" } match "^list-id: wmii community <wmii\\.wmii\\.de" in headers or "^list-Id: wmii community <wmii\\.suckless\\.org" in headers action "suck-wmii" match "^Sender: dwm-bounces@suckless\\.org" in headers action "suck-dwm" match "^sender: owner-nanog@merit\\.edu" in headers action "nanog" match "^list-post: <mailto:debate@lists\\.fitug\\.de>" in headers action "fitug" match "^list-id: edri-news\\.mailman\\.edri\\.org" in headers action "edri" match "^To: CRYPTO-GRAM-LIST@LISTSERV\\.MODWEST\\.COM" in headers action "cryptogram" match "^From: L-Service@bsz-bw\\.de" in headers action "bibliothek" match "^from:.*rechnung\\.arcor\\.de" in headers action "arcor" match "^from:.*friend1@googlemail\\.com" in headers or "^from:.*friend2@yahoo\\.de" in headers # ... action "friends" match "^sender: tendra-dev-bounces@lists\\.tendra\\.org" in headers action "tendra-dev" match all action "inbox"