Hello

I have a demand for the following email routing scenario :

1. Email arrives in the following format :

>From : sen...@sender.com
To : sys...@system.com
Message body contains the following pattern :

Username : customer_username
Password : customer_password
------------------------------------------

This is message payload,bla,bla,bla

2. Once this kind of email arrives,Postfix should route this email via
remote relay host using SMTP AUTH with credentials from message body of
email it received,like :

SMTP:remote.host.com (AUTH: customer_username,customer_password)

and remove everything from email body above line
'----------------------------' from the message body.

Is something like this possible ?

Sincerely

Dragan Zubac

Reply via email to