Add Email Subject: [EXTERNAL] to all incoming emails

SYSTEM INFORMATION
OS type and version Rocky Linux 9.2
Webmin version 2.021
Virtualmin version 7.7
Related packages Postfix 3.5.9 PHP 8.1.14 Python 3.9.16

Recently I’ve been asked to add a text to all incoming email: [EXTERNAL] and just googling found three alternatives:

  • MIMEDefang

  • pymilter

  • purepythonmilter

Which one may be better to work with Virtualmin or can Postfix directly do it?

Postfix can rewrite headers, including subject. email - Postfix Change subject based on recipient - Server Fault

Procmail (which is the mail delivery agent in Virtualmin systems) can also do it. procmail - procmailrc - change email subject - Server Fault

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.