in reply to POP3/IMAP Server modules?

but I am surprised nothing exists to do the actual server-side of the protocols

Why? The protocols are well defined, there are stable (mature & feature rich), C based (fast), GNU (free)solutions readily available for all the major defined protocols.

That said have a look at CGI::WML and modules like Apache::WAP::MailPeek and Apache::WAP::AutoIndex which let you combine WAP/Apache/mod_perl and will probably let you do exactly what you want.

cheers

tachyon

Replies are listed 'Best First'.
Re: Re: POP3/IMAP Server modules?
by Molt (Chaplain) on Apr 12, 2003 at 23:48 UTC

    The reason 'why' is because I really expected there to be a Perl version as there is no good reason someone wouldn't have tried anything similar before.

    As you say, the protocols are well-defined and so building to their specification shouldn't involve too much hunting round for obscure exceptions.

    The C implementations are great providing you're doing what it's intended to do (ie. serve mail from a static file), but I do tend to view CPAN as a wonderful resource for getting simple-to-use implementations of common protocols and I do view POP3 as an exceptionally common one. There are also very fast C implementations of things such as web servers, but I'd expect Perl to have it's own modules to handle raw HTTP requests.

    I did find references of an entire POP3 server implemented in Perl, but at the time couldn't find it, so I do know people have tried things like this in the past.

    Thanks for the pointers to the WML/WAP modules. I can see these would suit for many needs, but for this I do need to be able to keep data in long-term storage until the user deletes it, as part of the project is intended to provide an offline browser of sorts.