I am not seeing it change the sender. When the email arrives at the final destination it still has the originator.
This is how it’s suppose to work.
Your use case, requires the use of an middleman (to check and re-send a email) and Roundcube is not one of them.
You need to explore the sendgrid option I recommend above, and then get a script to resend the email to your support ticket system. OR, get your support system to recognise UR email address (which seems to be the most straightforward way).
- Signup Send Grid.
- Sign UP google serverless functions
- Create serverless function with node mail ( example of how to send a email using serverless functions -> https://dev.to/i_maka/google-cloud-functions-sending-emails-using-gmail-smtp-and-nodemailer-1lij )
- Input your google serverless URL into Sendgrid Parse Incoming Mail options.
Viola, your email gets re-sent.
Another option is to pipe the email using /etc/aliases in a normal postfix setup but I haven’t gotten it to work in mailinabox.
ANOTHER OPTION
Use roundcube filter, but use “Send Notification” instead. And use filtering rules to detect e.g. “Server Up” or “Server Down”, and send a simple email to your destination.