Skip to main content

Rewrite Email Sender

A maskwire tool to automatically rewrite the sender of an email to something else, for example to not expose a users main email address.

Note: Restore Receiver As Sender will take priority over this, if enabled.

What does this do?​

When sending an email, maskwire will check against the configured rewrite rules and instead replace the sender of the message to something else.

For example, if the rewrite rule "[email protected]" is configured to rewrite to "[email protected]", maskwire will rewrite all emails that are being sent from "[email protected]" to "[email protected]".

Using placeholders to make rewrite rules dynamic​

Maskwire also supports usage of placeholders to make rewrite rules dynamic:

  • $dd$: Current date, eg 31

  • $mm$: Current month, eg 06

  • $yyyy$: Current year, eg 2023

Example: A new email address per month​

To create a new email address per month to send emails from, a pattern like "[email protected]" can be used.

When a new email from "[email protected]" gets sent, maskwire will instead use "[email protected]".

What does this do exactly?​

When the "From" header of an email address matches a rewrite rule, maskwire will resolve the rewrite target and rewrite the "From" header to be of that target instead.