Hello,
We have MS Exchange email server with postfix/amavis on FreeBSD as proxy for anti-spam and anti-virus.
We use our own developed CRM and trying to implement such functionality that when CRM manager send email to CRM client or vice versa through email client like Outlook (no plugins for CRM) this message would be shown in CRM.
There is already a solution to parse emails from specific emailbox and show it in CRM.
What I need is to create postfix email filter to check if sender email is in file CRM_managers_emails and recipient email is in file CRM_clients_emails then forward that email to
crm@mycompany.com
Filter should check both incoming and outgoing messages.
I will auto generate CRM_managers_emails and CRM_clients_email files containing all such emails taken from CRM database.
I know i should use something like Postfix After-Queue Content Filter but most of examples are for blocking emails.
Thanks