The Artima Developer Community
Sponsored Link

Python Buzz Forum
SqWebMail

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ng Pheng Siong

Posts: 410
Nickname: ngps
Registered: Apr, 2004

Ng Pheng Siong is just another guy with a website.
SqWebMail Posted: Nov 18, 2004 8:19 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ng Pheng Siong.
Original Post: SqWebMail
Feed Title: (render-blog Ng Pheng Siong)
Feed URL: http://sandbox.rulemaker.net/ngps/rdf10_xml
Feed Description: Just another this here thing blog.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ng Pheng Siong
Latest Posts From (render-blog Ng Pheng Siong)

Advertisement

SqWebMail is a web interface to maildirs, i.e., it is a webmail system that works directly with maildirs, instead of via POP or IMAP.

Its main program is implemented in C and is deployed as a CGI program. It is supported by a number of auxiliary programs variously written in C, C++, Perl and shell.

SqWebMail is bundled with the Courier MTA and is also available as a separate package. In my case, I downloaded the standalone SqWebMail package for the purpose of integrating it with XMail.

Scanning through SqWebMail's INSTALL file, the big question is, "How do I get SqWebMail to use XMail's maildirs?"

SqWebMail supports both system accounts and virtual accounts. Virtual accounts may be managed via LDAP, MySQL, PostgreSQL or GDBM/DB files. I certainly won't use system accounts for this purpose, nor do I intend to put up LDAP, MySQL or PostgreSQL just for authentication. So I'm left with GDBM/DB files.

As it turns out, SqWebMail's GDBM/DB-based system, called userdb, is implemented to be a complete replacement for the /etc/passwd system. INSTALL claims, "/etc/userdb can also be used to completely supercede /etc/passwd. With many accounts it can be quite a drain to have to continuously linearly scan /etc/passwd in order to look up an account. Instead, a fast database lookup can retrieve the same information from the database file." Hmmm, I believe the claim about /etc/passwd isn't true on modern Unixen, but anyways, let's forge ahead.

So SqWebMail locates its maildirs according to the information in userdb. Should be no problem pointing them to XMail's maildirs, then.

(To be continued when I get back from vacation...)

Read: SqWebMail

Topic: Unexpected demise, and unexpected revival Previous Topic   Next Topic Topic: The Python Grimoire

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use