rewriting received message sender/from address

For any other discussion relating to MailEnable.
Post Reply
dbilbo
Posts: 1
Joined: Mon Mar 21, 2022 4:49 pm

rewriting received message sender/from address

Post by dbilbo »

Tried to find a way in the settings and using the mta pickup event, but cannot find a way to search on an incoming emails sender address and if match, change the domain after the "@".
example if the sender is someuser@this.domain.com, we want to change it to someuser@newdomain.com
the email would come in smtp, sender checked and changed, then sent to another smtp server to be emailed.

the process of emails coming in and being sent out, using smarthost, works, but cannot find a way to change the sender's address before sending to the smarthost. is there some way to do this? we previously had a system that would do this in the administration and am able to script this in other mail servers like hmailserver.

Post Reply