[MlMt] Multiple 'retired' addresses

Kee Hinckley kee at hinckley.com
Sun Feb 21 10:49:57 EST 2021

I didn’t know about this feature and I very much need it (my work mail switched domains last year and I get an error if I accidentally try to send from the old one).

Have you tried a regular expression “or”?

 retiredAddressPattern = "[Jj]olin\\.[Ww]arren at old-domain\\.org|  department at old-domain.org  " 

On Feb 21, 2021 at 06:20:45 PST, Jolin Warren <jolinwarren+mailmate at oakandapple.org> wrote:

     I use the  retiredAddressPattern  hidden preference to store old addresses for some of my IMAP accounts. There’s one account in particular where the organisation migrated domains, so the  retiredAddressPattern  preference contains the address pattern regular expression that matches my email address at the old domain, i.e.  retiredAddressPattern = "[Jj]olin\\.[Ww]arren at old-domain\\.org" . However, I also have a second, infrequently used, forwarding address at the organisation (i.e.  department at old-domain.org ) and I would like to add this as a retired address, so that MailMate considers all previous emails and any new emails sent to that deprecated address as having been sent to me. But I can’t just add the whole of the old domain to my  retiredAddressPattern  ( *@old-domain\\.org ) as then all emails in my archives from colleagues at the organisation would look like they came from me.  Does anyone know a way to add multiple email addresses to  retiredAddressPattern ? I tried comma-separated ( retiredAddressPattern = "[Jj]olin\\.[Ww]arren at old-domain\\.org, department at old-domain\\.org" ), but this didn't seem to work. Any other way of achieving this? Is there some grep pattern I could use?  Thanks!  -- 
=> Jolin   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20210221/e24b3d53/attachment.htm>

More information about the mailmate mailing list