On 2025-04-17 at 06:01:32 UTC-0400 (Thu, 17 Apr 2025 15:31:32 +0530)
anant--- via Postfix-users <an...@ursc.gov.in>
is rumored to have said:

Dear Team,

Following is the requirement,

If from address is a...@domain.com(our own domain) and if the subject starts with "[abcd] then from address to be changed to d...@domain.com (domain remians same) before delivering the mail to recipient.

Is this possible in Postfix?

Not without additional software. The ideal tool for this would be a "Milter" such as milter-regex, MIMEDefang, or MailMunge. You could also do it in a delivery agent using the pipe interface.

If you are delivering that mail locally, another place that you could do that manipulation might be in a Sieve tool like Pigeonhole, which is integrated with the Dovecot IMAP server.



--
 Bill Cole
 b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses)
 Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to