I recently got a request from my boss, essentially he needs this:
Clients will send email to a [email protected],
a. Dispatch emails from clients to agents according to some rule, like:
- Forward emails from [email protected] to [email protected]
- Forward emails containing word "cat" to [email protected]
- Forward emails which subject contain some word to [email protected]
- Forward any email to [email protected] to [email protected]
- agents can send internal emails to each other
- Keep an copy of all incoming and outgoing emails on the mail server
b. While hiding the email address of clients. i.e. agent1, agent2, agent3 have no idea where the emails coming from(can only see [email protected]). Where they can simply reply to the email then the reply will be forwarded to the right client, masking agents' emails address, so the clients only see the email is coming from [email protected]
Then he need some content filtering of the incoming and outgoing emails, best using regex, to replace or delete certain contents in emails. Say some email contain a SIN number then it will be replaced with "*********".
I would imaging it will be possible using some certain kinds of mail server? or some email "proxy"? I tried some keywords like "email routing" "email proxy" and "mail server" on google but didn't find anything do what boss want. Please give me some pointer on what softwares to look at.