All incoming mail to the domain goes to a mailbox accessible to my code via POP.
The Proxy needs to access the POP mailbox and reject some of the messages based on the headers. (Is there a standard way of rejecting a message? Module?)
Then it needs to append something to the end of some of the messages. (with sensetivity to whether they are in plain text or HTML)
Then it needs to "move" the remaining messages to a bunch of different "mailboxes" for each user. I have MySQL setup, so I was thinking about storing them there.
The users login to the Proxy via POP on a custom port to download their messages.
The other way, I need a custom SMTP server for the users to send their outgoing mail through. The proxy needs to make some changes to the headers and then resend them through the real SMTP server.
So I think basically I need modules for a POP server, a POP client, an SMTP server, an SMTP client and modules for reading and altering email messages.
Any ideas about which CPAN modules I will need to glue together to make this work?
-Andrew.
In reply to Email Proxy System by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |