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@old-domain\\.org|  
[email protected]  " 


On Feb 21, 2021 at 06:20:45 PST, Jolin Warren 
<[email protected]> 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@old-domain\\.org" . However, I also have a second, 
infrequently used, forwarding address at the organisation (i.e.  
[email protected] ) 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@old-domain\\.org, department@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   

_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to