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 firstname.lastname@example.org, we want to change it to email@example.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.