14 Jun
2013
14 Jun
'13
11:57 p.m.
At 10PM +0300 on 14/06/13 you (Timo Sirainen) wrote:
On 14.6.2013, at 22.22, Ben Johnson ben@indietorrent.org wrote:
The complexities associated with authentication will be the most difficult part (at least if you want to build something reusable).
Dovecot has a pretty easily usable auth server that talks pretty simple authentication protocol, and can be also configured to be available via TCP. http://wiki2.dovecot.org/Design/AuthProtocol
See also the Perl module Authen::SASL::Authd, which will authenticate against dovecot-auth (only with PLAIN, unfortunately, but unless you're willing to put in a lot of effort most forms of web auth come out equivalent to PLAIN).
Ben