[MlMt] Customising From or Reply-To based on Smart Mailbox settings
Michael Nietzold
lists.freron.com at nietzold.com
Sun Feb 15 13:50:26 EST 2026
Since my setup was not included in the previous answers, here is my
email setup:
- I have a domain: mydomain.com
- In: catch-all
- Out: wildcard out
- Server: DomainFactory - old mailboxes (not migrated to Exchange)
Setup in MailMate:
- Set up an IMAP email account
- [x] Checked under Address Pattern: `.*@mydomain\.com` (do not forget
the backslashes, etc., because it is a regex)
References:
- Blog Post: https://blog.freron.com/2013/handling-multiple-identities/
- Section Adress Pattern: https://manual.mailmate-app.com/account_setup
MailMate Help" Address Pattern
This is an advanced feature for users with many email aliases. It allows
you to tell MailMate the format of email addresses used for the account
without listing them explicitly. Using this information MailMate can
analyze the headers of an incoming message and automatically derive an
appropriate address to be used for the default “From” address in a
reply. This is combined with the “Full Name” specified above. The
value used for this option must be a so-called regular expression.
Example values are:
| Regular expression | Description |
| :--- | :--- |
| `address1 at example\.com\|address2 at example\.com` | An explicit list of
alternative addresses |
| `address[0-9]*@example\.com` | Any address with an arbitrary suffixed
number such as `address123 at example.com` |
| `username\+.*@example\.org` | Any address with an arbitrary
plus-suffixed string such as `username+private at example.org` |
| `mm-.*@freron\.com` | Any address with mm- prefixed such as
`mm-dummy at freron.com` |
On 14 Feb 2026, at 2:14, mailmate at businessdatasystems.co.nz wrote:
> As I manage my own domain name I'm able to make-up mail addresses to
> match the group or organisation I'm dealing with whenever I'm asked to
> provide one.
>
> Rather than creating a corresponding email account on my server (too
> much effort) I simply create a Smart Mailbox in Mailmate which filters
> on the TO address.
>
> Mail to these addresses all ends up in the postmaster account unless I
> generate a forwarding rule. I usually reserve that action for
> forwarding them to /dev/null when the organisation becomes annoying.
>
> That works perfectly for receiving mail. However, when I reply to mail
> the FROM field is postmaster@ rather than my whatever_lol@
> not-an-email address.
>
> I'd really like to have some way of auto populating the From or the
> Reply-to field without having to remember to use the Customise option.
>
> Are there any hidden tricks in Mailmate that I can leverage to achieve
> this?
>
> thanks,
> Malcolm
> _______________________________________________
> mailmate mailing list
> Unsubscribe: https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20260215/ce83cbbe/attachment.htm>
More information about the mailmate
mailing list