<html><head><style>img { max-width:100%; }</style><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"></head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);">
<div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div">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).</div><div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div"><br></div><div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div">Have you tried a regular expression “or”?</div><div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div"><br></div><div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div"><span style="font-family: monospace; background-color: rgb(247, 247, 247);">retiredAddressPattern = "[Jj]olin\\.[Ww]arren@old-domain\\.org|</span><span style="font-family: monospace; background-color: rgb(247, 247, 247);">department@old-domain.org</span><span style="font-family: monospace; background-color: rgb(247, 247, 247);">"</span></div><div style="font-family: Avenir, Helvetica, 'Helvetica Neue', Arial, Avenir, sans-serif, -gh-fontmarker; font-size: 16px; font-style: normal; font-weight:normal;background-color:#FFFFFF;color:#000000;" data-ghheaderwithclosetag="div"><br><br>On Feb 21, 2021 at 06:20:45 PST, Jolin Warren <jolinwarren+mailmate@oakandapple.org> wrote:<br><br><blockquote style="margin:0px;border-left:2px blue solid;padding-left:1ex; padding-right:0px;"><meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"><div style="font-family:sans-serif"><div style="white-space:normal"><p dir="auto">I use the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern</code> 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 <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern</code> preference contains the address pattern regular expression that matches my email address at the old domain, i.e. <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern = "[Jj]olin\\.[Ww]arren@old-domain\\.org"</code>. However, I also have a second, infrequently used, forwarding address at the organisation (i.e. <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">department@old-domain.org</code>) 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 <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern</code> (<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">*@old-domain\\.org</code>) as then all emails in my archives from colleagues at the organisation would look like they came from me.</p><p dir="auto">Does anyone know a way to add multiple email addresses to <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern</code>? I tried comma-separated (<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">retiredAddressPattern = "[Jj]olin\\.[Ww]arren@old-domain\\.org, department@old-domain\\.org"</code>), but this didn't seem to work. Any other way of achieving this? Is there some grep pattern I could use?</p><p dir="auto">Thanks!</p><p dir="auto">-- <br>=> Jolin</p></div></div></blockquote><br></div></body></html>