<p>Identities are as expected matched by account. For incoming messages the <em>to</em>, <em>cc</em>, <em>bcc</em>, <em>from</em> and <em>(X-)delivered/envelope/original-to</em> addresses will be checked (in this order) and for outgoing messages (drafts, outbox and sent) only the <em>from</em> addresses will be checked. Equal addresses have precedence over partially matching addresses, except for <em>delivered-to</em> addresses.</p>
<p>The matched address will be shown as <em>via</em> in the addresses section of received messages (between the message header and message text).</p>
<p>Note that identities needs to be enabled to be able to be matched and that identities of other accounts will not be considered.</p>
<p>Matching will be done only once on receiving a message, so changing the configuration will not change existing messages. You could clear local messages by long pressing a folder in the folder list and synchronize the messages again though.</p>
<p>Note that identities need to be enabled to be able to be matched and that identities of other accounts will not be considered.</p>
<p>Matching will be done only once on receiving a message, so changing the configuration will not change existing messages. You could clear local messages by long pressing a folder in the folder list and synchronize the messages again, though.</p>
<p>It is possible to configure a <ahref="https://en.wikipedia.org/wiki/Regular_expression">regex</a> in the identity settings to match <strong>the username</strong> of an email address (the part before the @ sign).</p>
<p>Note that the domain name (the parts after the @ sign) always needs to be equal to the domain name of the identity. Since version 1.1640 it is possible to match the full email address with a regex, which can be useful for matching alias domain names.</p>
<p>If you want to match a catch-all email address, this regex is usually fine, provided all usernames for the domain are yours:</p>