(setq gnus-auto-expirable-newsgroups
"^nnimap\\+distorted:\\(crap\\|spam\\|admin\\|lists\\|nag\\)\\..*")
+;; My various email addresses.
+(setq message-alternative-emails
+ (concat "^"
+ "\\(" "\\(mdw\\|markw\\|postmaster\\)"
+ "\\([-+][^@]*\\|\\)"
+ "@\\(distorted\\.org\\.uk\\|escorted\\.org\\.uk\\|odin\\.gg\\)"
+ "\\|" "distorted\\.mdw@g\\(oogle\\|\\)mail\\.com"
+ "\\)$")
+ message-dont-reply-to-names message-alternative-emails)
+
;; Mail sent to `mdw-nospam-THING' should appear to come from this address.
(setq gnus-posting-styles
'(((and (string-match "^nnimap\\+distorted:crap\\.\\(.*\\)$"
### IMAP configuration.
## Local mail.
-account-hook ^imap://mail\.distorted\.org\.uk \
+account-hook '^imap://mail\.distorted\.org\.uk' \
'set imap_user=mdw; set imap_pass=$my_distorted_mail_passwd'
set my_distorted_imap=imap://mail.distorted.org.uk/
set spoolfile=$my_distorted_imap
mailboxes $my_distorted_imap
## Google mail.
-account-hook ^imaps://imap\.gmail\.com \
+account-hook '^imaps://imap\.gmail\.com' \
'set imap_user=distorted.mdw@gmail.com; set imap_pass=$my_gmail_passwd'
mailboxes imaps://imap.gmail.com/
### Other issues.
alternates -group me \
- ^mdw([-+][^@]*|)@distorted\.org\.uk$ \
- ^(markw|mdw)([-+][^@]*|)@odin\.gg$ \
- ^distorted\.mdw@(google|g)mail\.com$
+ '^(mdw|markw)([-+][^@]*|)@(distorted\.org\.uk|escorted\.org\.uk|odin\.gg)$' \
+ '^distorted\.mdw@g(oogle|)mail\.com$'
alternates -group admin \
- ^(root|postmaster|abuse)@distorted\.org\.uk$
+ '^(root|postmaster|abuse)@(distorted\.org\.uk|escorted\.org\.uk|odin\.gg)$' \
###----- That's all, folks --------------------------------------------------