[MlMt] Customising From or Reply-To based on Smart Mailbox settings

Randall Gellens mailmate at randy.pensive.org
Sat Feb 14 09:04:09 EST 2026


On 13 Feb 2026, at 17: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?

I've been using unique email address for each group or business. My 
mailserver is set to deliver all mail with an unknown recipient address 
to my main account, and I use MailMate rules to move messages into 
different physical mailboxes. When I reply to a message, MailMate is 
smart enough to find the recipient address that matches my email pattern 
in the account settings[1], and use that address as the "From" address. 
In the fairly rare case where it doesn't use the right address, I use 
the drop-down control in the "From" field of the composition window to 
edit it.

[1] In the settings of each account is an "Email Address(es)" field. Put 
your most commonly used addresses there (as this is used to initially 
populate the "From" drop-down). Use a comma to separate addresses. Below 
the "Email Address(es)" field is an "Address Pattern" field with a 
checkbox. Check the box and fill in a pattern to identify your email 
addresses (e.g.,  "*@businessdatasystems\.co\.nz" (without the quotes) 
to match anything @businessdatasystems.co.nz). If you use multiple 
domains, you can have multiple patterns, e.g.,:

((?!ruff at example.org).*@example\.org|.*@mutt\.example\.org|.*@gork\.com|.*@flex\.net)


--Randall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20260214/8cb7be32/attachment.htm>


More information about the mailmate mailing list