X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E62513A1A30 for ; Tue, 18 Jan 2005 14:30:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20656-09 for ; Tue, 18 Jan 2005 14:30:18 +0000 (GMT) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by svr1.postgresql.org (Postfix) with ESMTP id 9909C3A19D9 for ; Tue, 18 Jan 2005 14:30:20 +0000 (GMT) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j0IF5tcN028822 for ; Tue, 18 Jan 2005 17:05:55 +0200 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j0IF5tM1028818 for ; Tue, 18 Jan 2005 17:05:55 +0200 Date: Tue, 18 Jan 2005 17:05:55 +0200 (EET) From: Achilleus Mantzios To: pgsql-sql@postgresql.org Subject: mail + rfc822, rfc2822 + schema Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/130 X-Sequence-Number: 19918 Hi, i am thinking of doing a remote MUA web-based system, based on postgresql. The idea is to let uucp/sendmail do the job of transporting the smtp mail to the remote site, and then using an mbox parser at the site (i have already done that in java), to offload (remotely) the mail messages to the remote postgresql. (I didnt want an IMAP, POP3 solution since POP3 dont make no sense at all since the web and mail server will be the same machine, and IMAP adds administrative overhead and deviates from our wierdish custom J2EE jboss/postgresql authentication mechanism, plus it gives features that we dont want at all - shared folders, etc..). So since we want the email system to fit seemlessly into the rest of the system, just like yet another app, the obvious was to think of an postgresql based Store. So, i'd like to know if any of you has designed a schema serving as an mail storage. If anything of caution arrose to you, and if you had something to recommend. By default i'll create a schema sufficient enuf to hold as much as the javax.mail.internet.MimeMessage can give, and the attachments. Thanx. -- -Achilleus