more useful options | |
PerlMonks |
Email Proxy Systemby tomazos (Deacon) |
on Sep 26, 2005 at 06:54 UTC ( [id://495018]=perlquestion: print w/replies, xml ) | Need Help?? |
tomazos has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on implementing an email "Proxy" system and I seek guidance on which CPAN modules to reuse.
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.
Back to
Seekers of Perl Wisdom
|
|