So for a while now I've had a virtual host on a hosting provider. They provide me with a few free POP accounts, but I want perhaps a dozen or so web-accessible e-mail accounts. So here's my idea:
- Set up procmail to redirect e-mail for
those "accounts" to a file, such as
/home/myhost/spool/blahblah. Optionally, clutter
my database schema even further by tossing it into my (one
and only) database instead.
- Stick fake info for the "accounts" in
/home/myhost/etc/passwd.
- Find a web-based e-mail interface and wire it up to
/home/myhost/etc/passwd and
/home/myhost/spool/blahblah.
Now the problem is with step 3. I searched Freshmeat and Sourceforge, to no avail. I'd hoped to use SquirrelMail, but it seems happy only with IMAP. Does anyone know of open-source CGI scripts that do what I want (i.e., read spool files instead of IMAP or POP)? I don't really have the time to roll up my sleeves and reinvent the wheel. I might consider patching an existent project if it didn't turn out to be a massive chore.
