# settings set lock-types flock set maximum-size 64M $home = "%h" $mail = "${home}/.mail" $arch = "${mail}/arch" include ".fdm.accounts" #include ".fdm.archive" #include ".fdm.nntp" # actions action "drop" drop action "inbox" maildir "${mail}/inbox" action "sent" maildir "${mail}/sent" action "spam" maildir "${mail}/spam" action "arch" maildir "${mail}/arch" action "arch-pkgs" maildir "${mail}/arch.pkgs" action "arch-bugs" maildir "${mail}/arch.bugs" action "arch-aur" maildir "${mail}/arch.aur" action "mark-read" exec 'mf="%[mail_file]"; mv "${mf}" "${mf%%/*}/../cur/${mf##*/}:2,S"' action "mailinglist" maildir "${mail}/list.%1" action "lbdb" pipe "/usr/bin/lbdb-fetchaddr -d '%Y-%m-%dT%H:%M:%S' -x 'from:to:cc'" # SPAM: TODO pipe this through some action to check for spam status match "^X-Spam-Status: Yes" in headers actions { "spam" "mark-read" } match all action "lbdb" continue # I hate these... match "^From:.*mailman-owner@.*" in headers action "drop" # archlinux match "^From:.*nobody@archlinux\\.org" in headers action "arch-pkgs" match "^From:.*bugs@archlinux\\.org" in headers action "arch-bugs" match "^From:.*aur-notify@archlinux\\.org" in headers action "arch-aur" # CVS commits # Mailing List generic rules match "^X-List-Id:.*<([^@\.]+).*" in headers action "mailinglist" match "^List-Id:.*<([^@\.]+).*" in headers action "mailinglist" match "^Sender:.*owner-([^@]+).*" in headers action "mailinglist" match "^X-BeenThere:\s*([^@]+).*" in headers action "mailinglist" match "^Delivered-To:.*mailing list ([^@]+).*" in headers action "mailinglist" match "^X-Mailing-List-Name:\s*([^@]+).*" in headers action "mailinglist" match "^X-Mailing-List:.*<([^@]+).*" in headers action "mailinglist" match "^X-Loop:\s*([^@]+).*" in headers action "mailinglist" match "^X-list:\s*([^@\.]+).*" in headers action "mailinglist" match "^From:.*aaronmgriffin@gmail\\.com" in headers actions { "sent" "mark-read" } # Send all non-ML posts to 'arch' match "^From:.*@archlinux\\.org" in headers action "arch" match all action "inbox"