pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-sql@postgresql.org
Subject: mail + rfc822, rfc2822 + schema
Date: Tue, 18 Jan 2005 17:05:55 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com> (raw)


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




view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: mail + rfc822, rfc2822 + schema
  In-Reply-To: <Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com>
  References: <Pine.LNX.4.44.0501181648001.28470-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox