(setq nnmail-split-fancy
'(|
;; Administrative boxes.
- (to "\\(root\\|postgres\\|ca\\|noc\\)@" "admin.misc" t)
- (to "\\(jukebox\\|nobody\\|darchive\\)@" "admin.misc" t)
- (to "\\(hostmaster\\)@" "admin.dns" t)
- (to "\\(news\\|newsmaster\\|usenet\\)@" "admin.news" t)
- (to "\\(postmaster\\|spamd\\|mailer-daemon\\)@" "admin.mail" t)
- (to "\\(irc\\|blight\\|ircbot\\)@" "admin.irc" t)
- (to "\\(www\\|webmaster\\|mtos\\)@" "admin.web" t)
- (to "\\(ftp\\|ftpadmin\\|mirror\\)@" "admin.ftp" t)
- (to "\\(abuse\\|security\\)@" "admin.keep" t)
+ (to "\\<\\(root\\|postgres\\|ca\\|noc\\)@" "admin.misc" t)
+ (to "\\<\\(jukebox\\|nobody\\|darchive\\)@" "admin.misc" t)
+ (to "\\<\\(hostmaster\\)@" "admin.dns" t)
+ (to "\\<\\(news\\|newsmaster\\|usenet\\)@" "admin.news" t)
+ (to "\\<\\(postmaster\\|spamd\\|mailer-daemon\\)@" "admin.mail" t)
+ (to "\\<\\(irc\\|blight\\|ircbot\\)@" "admin.irc" t)
+ (to "\\<\\(www\\|webmaster\\|mtos\\)@" "admin.web" t)
+ (to "\\<\\(ftp\\|ftpadmin\\|mirror\\)@" "admin.ftp" t)
+ (to "\\\<\\(abuse\\|security\\)@" "admin.keep" t)
(from "cron daemon" "admin.misc")
(from "uucp@distorted\\.org\\.uk" "admin.uucp")
(from "darchive@.*\\.distorted\\.org\\.uk" "admin.misc")
(to "jump-announce@jump\\.net\\.uk" "lists.jump-announce")
;; Per-sender addresses.
- (to "mdw-nospam-justgviing@" "crap.justgiving" t)
- (to "mdw-nospam-\\([^@]+\\)@" "crap.\\1" t)
- (to "mdw-nopspam-\\([^@]+\\)@" "crap.\\1" t)
+ (to "\\<mdw-nospam-justgviing@" "crap.justgiving" t)
+ (to "\\<mdw-nospam-\\([^@]+\\)@" "crap.\\1" t)
+ (to "\\<mdw-nopspam-\\([^@]+\\)@" "crap.\\1" t)
;; Regular nags.
(from "\\(sealbot\\|cardbot\\)@ncipher\\.com" "nag.cardbot")
(from "\\<mailman-owner@" "nag.mailman" t)
;; Uninteresting mail.
- (from "expiry@letsencrypt\\.org" "spam.letsencrypt" t)
+ (from "expiry@letsencrypt\\.org" "spam.letsencrypt")
;; Other splits I've not given a per-sender address.
- (from "@\\(.*\\.\\)?lovefilm\\.com" "spam.lovefilm" t)
+ (from "@\\(.*\\.\\)?lovefilm\\.com\\>" "spam.lovefilm" t)
(from "@amazon\\." "spam.amazon" t)
- (from "@cineworldmail\\.com" "spam.cineworld" t)
- (from "@picturehouses\\.co\\.uk" "spam.picturehouse" t)
- (from "@nationwide" "spam.nationwide" t)
- (from "@news\\.spotifymail\\.com" "spam.spotify" t)
- (from "@action\\.openrightsgroup\\.org" "spam.org" t)
- (from "unlimited@cineworld\\.com" "spam.cineworld" t)
- (from "nationwide@securesuiteemail\\.com" "spam.nationwide" t)
- (from "@liberty-human-rights\\.org\\.uk" "spam.liberty" t)
- (from "@libertymail\\.org\\.uk" "spam.liberty" t)
- (from "@openrightsgroup\\.org" "spam.org" t)
- (from "@tshirthell\\.com" "spam.tshirt-hell" t)
- (from "campaigns@jolla\\.com" "crap.jolla" t)
+ (from "@cineworldmail\\.com\\>" "spam.cineworld" t)
+ (from "@picturehouses\\.co\\.uk\\>" "spam.picturehouse" t)
+ (from "@nationwide" "spam.nationwide\\>" t)
+ (from "@news\\.spotifymail\\.com\\>" "spam.spotify" t)
+ (from "@action\\.openrightsgroup\\.org\\>" "spam.org" t)
+ (from "unlimited@cineworld\\.com\\>" "spam.cineworld" t)
+ (from "nationwide@securesuiteemail\\.com\\>" "spam.nationwide" t)
+ (from "@liberty-human-rights\\.org\\.uk\\>" "spam.liberty" t)
+ (from "@libertymail\\.org\\.uk\\>" "spam.liberty" t)
+ (from "@openrightsgroup\\.org\\>" "spam.org" t)
+ (from "@tshirthell\\.com\\>" "spam.tshirt-hell" t)
+ (from "campaigns@jolla\\.com\\>" "crap.jolla" t)
;; Default.
"mail.misc")