473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

QMail

Is there something to interface postgreSQL with QMail to store mails in
pgsql instead of using mbox or maildir?

Or maybe it's not a good idea to do that?

I think there is some adavantages...

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #1
10 4519
* Eric <er***@conceptid.ca> [2004-10-27 14:14:25 -0400]:
Is there something to interface postgreSQL with QMail to store mails
in pgsql instead of using mbox or maildir?


This looks informative:

http://qmail-sql.digibel.be/

--
Steven Klassen - Lead Programmer
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Replication & Support Services, (503) 667-4564

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #2
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
Is there something to interface postgreSQL with QMail to store mails in
pgsql instead of using mbox or maildir?

Or maybe it's not a good idea to do that?

I think there is some adavantages...
also look at http://www.dbmail.org/
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #3
Hi,

Am Sa, den 30.10.2004 schrieb Russell Smith um 8:02:
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
Is there something to interface postgreSQL with QMail to store mails in
pgsql instead of using mbox or maildir?

Or maybe it's not a good idea to do that?

I think there is some adavantages...


also look at http://www.dbmail.org/


Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.

Regards
Tino
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #4
Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.

Hello,

We were able to put something together fairly easily in Perl
which has excellent (if you like perl) facilities for dealing
with multi-part mime etc...

Sorry it was for a customer so we can't provide source. However
I know it only took us about 3 days and it has been in place for
2 years without issue.

Sincerely,

Joshua D. Drake

Regards
Tino
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #5
On Wed, 2004-10-27 at 14:14 -0400, Eric wrote:
Is there something to interface postgreSQL with QMail to store mails in
pgsql instead of using mbox or maildir?

Or maybe it's not a good idea to do that?

I think there is some adavantages...
We use QMail for our vhosting and it works quite well. We have plans to
move the storage into PostgreSQL at some point.

This is on the QMail.org site:
Mail2DB -- Store incoming mail in a PostgreSQL database. Mail2DB is
suitable for putting in a .qmail/.forward file and will archive e-mail
to a SQL database. Currently, there is only the storage component.


ftp://ftp.tummy.com/pub/tummy/Mail2DB/

You will

hth,

-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | ro***@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now supporting PHP5 ---
****************************************/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBg8oO0QaQZBaqXgwRAioUAJ4v0opG2zWyBcPw0pU5zp FRWAUakwCgntY/
+ldTPAT5+4fwNyFEGS42uVc=
=4vuc
-----END PGP SIGNATURE-----

Nov 23 '05 #6
Hi,

Am Sa, den 30.10.2004 schrieb Joshua D. Drake um 18:25:
Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.

Hello,

We were able to put something together fairly easily in Perl
which has excellent (if you like perl) facilities for dealing
with multi-part mime etc...

Sorry it was for a customer so we can't provide source. However
I know it only took us about 3 days and it has been in place for
2 years without issue.


Thx, even with python the email/mime/multipart handling is no
issue. The problem comes with IMAP _server_ support. Client
libs are available too. Does your solution provide IMAP
access with ordinary mail clients?

Regards
Tino
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #7
ti**@wildenhain.de (Tino Wildenhain) writes:
Am Sa, den 30.10.2004 schrieb Russell Smith um 8:02:
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
> Is there something to interface postgreSQL with QMail to store mails in
> pgsql instead of using mbox or maildir?
>
> Or maybe it's not a good idea to do that?
>
> I think there is some adavantages...


also look at http://www.dbmail.org/


Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.


I seriously question the merits of interfacing qmail with PostgreSQL;
qmail is "merely" an MTA, and is basically where mail would get
_queued_ until it is delivered to someone's 'mailbox.'

qmail isn't a 'mailbox manager,' so using PG as the data store for
qmail just doesn't seem sensible.

What _would_ seem sensible would be to use PG for the data store for
an IMAP server.

The most relevant one would seem to be Decimail:

<http://decimail.org/>

Decimail...

* Is an IMAP / SMTP email server.
* Uses a PostgreSQL database to store the messages.
* Defines mailboxes using SQL queries.

The way it handles mailboxes is very interesting...
--
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/linuxxian.html
A VAX is virtually a computer, but not quite.
Nov 23 '05 #8
ti**@wildenhain.de (Tino Wildenhain) writes:
Am Sa, den 30.10.2004 schrieb Russell Smith um 8:02:
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
> Is there something to interface postgreSQL with QMail to store mails in
> pgsql instead of using mbox or maildir?
>
> Or maybe it's not a good idea to do that?
>
> I think there is some adavantages...


also look at http://www.dbmail.org/


Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.


I seriously question the merits of interfacing qmail with PostgreSQL;
qmail is "merely" an MTA, and is basically where mail would get
_queued_ until it is delivered to someone's 'mailbox.'

qmail isn't a 'mailbox manager,' so using PG as the data store for
qmail just doesn't seem sensible.

What _would_ seem sensible would be to use PG for the data store for
an IMAP server.

The most relevant one would seem to be Decimail:

<http://decimail.org/>

Decimail...

* Is an IMAP / SMTP email server.
* Uses a PostgreSQL database to store the messages.
* Defines mailboxes using SQL queries.

The way it handles mailboxes is very interesting...
--
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/linuxxian.html
A VAX is virtually a computer, but not quite.
Nov 23 '05 #9
Am Di, den 02.11.2004 schrieb Chris Browne um 0:05:
ti**@wildenhain.de (Tino Wildenhain) writes:
Am Sa, den 30.10.2004 schrieb Russell Smith um 8:02:
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
> Is there something to interface postgreSQL with QMail to store mails in
> pgsql instead of using mbox or maildir?
>
> Or maybe it's not a good idea to do that?
>
> I think there is some adavantages...

also look at http://www.dbmail.org/
Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.


I seriously question the merits of interfacing qmail with PostgreSQL;
qmail is "merely" an MTA, and is basically where mail would get
_queued_ until it is delivered to someone's 'mailbox.'

qmail isn't a 'mailbox manager,' so using PG as the data store for
qmail just doesn't seem sensible.


_I_ know ;)
What _would_ seem sensible would be to use PG for the data store for
an IMAP server.
that is, what dbmail tries to do.
The most relevant one would seem to be Decimail:

<http://decimail.org/>

Decimail...

* Is an IMAP / SMTP email server.
* Uses a PostgreSQL database to store the messages.
* Defines mailboxes using SQL queries.

The way it handles mailboxes is very interesting...


Indeed, looks conceptional perfect. Lets try it.
Thanks for the hint!

Regards
Tino
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #10
Am Di, den 02.11.2004 schrieb Chris Browne um 0:05:
ti**@wildenhain.de (Tino Wildenhain) writes:
Am Sa, den 30.10.2004 schrieb Russell Smith um 8:02:
On Thu, 28 Oct 2004 04:14 am, Eric wrote:
> Is there something to interface postgreSQL with QMail to store mails in
> pgsql instead of using mbox or maildir?
>
> Or maybe it's not a good idea to do that?
>
> I think there is some adavantages...

also look at http://www.dbmail.org/
Do you know anything else? dbmail seems too much mysql
centric while at least providing access to postgresql
which is a pro. The storage of mails in big chunks
seems less then ideal and you need clever views to
get local part and host seperately.


I seriously question the merits of interfacing qmail with PostgreSQL;
qmail is "merely" an MTA, and is basically where mail would get
_queued_ until it is delivered to someone's 'mailbox.'

qmail isn't a 'mailbox manager,' so using PG as the data store for
qmail just doesn't seem sensible.


_I_ know ;)
What _would_ seem sensible would be to use PG for the data store for
an IMAP server.
that is, what dbmail tries to do.
The most relevant one would seem to be Decimail:

<http://decimail.org/>

Decimail...

* Is an IMAP / SMTP email server.
* Uses a PostgreSQL database to store the messages.
* Defines mailboxes using SQL queries.

The way it handles mailboxes is very interesting...


Indeed, looks conceptional perfect. Lets try it.
Thanks for the hint!

Regards
Tino
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Pierre Jelenc | last post by:
I use mail() for a musician's mailing list script that suddenly started having problems after many months of working flawlessly. The code fragment is: if...
5
by: Vitali Malicky | last post by:
Hello dear All! I need to print out and pass apache evironment variables (like HTTP_HOST, SERVER _NAME, REMOTE_ADDR) to another program which is to process them and take definite actions...
0
by: Mail Delivery Service | last post by:
This multi-part MIME message contains a Delivery Status Notification. If you can see this text, your mail client may not be able to understand MIME formatted messages or DSNs (see RFC 2045 through...
0
by: Benoit St-Jean | last post by:
I am wondering if the "swap bug" is present on my kernel/version of RedHat 9 as described at: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89226 It looks like the OS prefers to fill the...
0
by: Fred | last post by:
Hello, My company runs qmail on their SMTP server, as well as on the Linux machines that contain DB2 instances. When I used Control Center to test email notification with a DB2 V8.1.4 server on...
3
by: sheldonlg | last post by:
I don't think my last attempt posted so here it is again. This is a bit off-topic, but it does relate to php. This is the most active related group that I can find, so even if it is off-topic I...
1
by: Beyza | last post by:
Hi, I have a problem. One of my customer used to use php mailer in her web page. But when i changed something in the system (php packages) , it was broken. If she use php-mailer in her system,...
1
by: AirYT | last post by:
Howdy, Does anyone out there have a solution to determine the number of messages in Qmail's queue(s) from PHP (ie. via a qmail-qstat call or something else)? i have done a lot of google...
1
by: tim007 | last post by:
hi all, my issue is The sites login user id and password is same as the Qmail Mail servers userid and password so i need to authenticate the user, check if user id / pwd is valid in the Qmail...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.