dot/emacs: Don't snarf `*@*.invalid' email addresses.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 12:35:00 +0000 (13:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 12:35:00 +0000 (13:35 +0100)
dot/emacs

index c6ed28d..88acfe4 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
        (cond ((null addr)
               nil)
              ((or (string-match "^mailer-daemon@" addr)
+                  (string-match "\.invalid$" addr)
                   (string-match (concat "^reply-[0-9a-f]+-[0-9a-f]+_"
                                         "HTML-[0-9]+-[0-9]+-[0-9]+"
                                         "@\\(nationwide-communications\\."