Projects / DBMAIL

DBMAIL

The DBMAIL package replaces the normal UNIX mailing system. All email and user data is stored in a database. You can create an unlimited number of email accounts, which can be checked using the POP3 or IMAP protocol. Users can maintain their own set of email addresses. It is more scalable, more secure, and faster than traditional mail systems. DBMAIL has storage drivers for PostgreSQL and MySQL, and it has authentication drivers for PostgreSQL, MySQL, and LDAP.

Tags Communications Email Post-Office IMAP POP3
Licenses GPL
Operating Systems Unix
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  02 Nov 2007 14:57
  • Rrelease-after

Changes: Text with unknown encoding is better converted to UTF-8, and character sets are correctly handled for IMAP SEARCH. The IMAP IDLE command is now allowed at any time, improving Outlook compatibility. A BSD build error was corrected.

  • Rrelease-mid
  •  03 Jun 2007 04:12
  • Rrelease-after

Changes: This release features greatly improved handling of UTF8 email, has many fixes for IMAP protocol errors, and resolves a number of serious memory leaks. A new feature was added to dbmail-export to allow fine-grained message selection and post-export deletion.

  • Rrelease-mid
  •  12 Mar 2007 12:56
  • Rrelease-after

Changes: This release resolves several regressions and long-standing but subtle IMAP compliance issues, and introduces ~ expansion for SQLite database paths, suddenly allowing great horizontal scalability (at the expense of any #Users and #Public namespaces). dbmail-export sometimes produced upside-down messages (body first, then headers), the Recent flag was not cleared correctly, IMAP SEARCH LARGER and SEARCH SMALLER did not work, proper handling and logging of a full /tmp filesystem, and higher level logging of messages returned due to quota limits have all been fixed.

  • Rrelease-mid
  •  28 Feb 2007 12:04
  • Rrelease-after

Changes: The major bugfixes in this release relate to PostgreSQL query errors in certain database encodings, causing some messages to remain in the MTA queue until they are returned to sender. All DBMail/PostgreSQL users should upgrade. Two user-facing changes are that dbmail-users now has a -n switch for dry-run mode, and dbmail.conf now has two new entries: encoding and default_msg_encoding. Empty convenience libraries are no longer installed for unbuilt modules. A wider tolerance is allowed for some unusual email addresses. Several small protocol glitches in IMAP and POP3 daemons are fixed.

  • Rrelease-mid
  •  31 Jan 2007 11:05
  • Rrelease-after

Changes: 20 bugs were fixed and numerous minor enhancements made, including better memory usage in the IMAP server and message delivery chain, build fixes for Solaris and AMD-64 platforms, repairs to several IMAP protocol responses, and a new feature: sub-domain catch-all aliases of the form '@.domain'.

Rss Recent comments

Rcomment-before 20 Mar 2007 02:52 Rcomment-trans lelik76 Rcomment-after

Still a beta, this is not a stable product
Please keep in mind this program is very unstable and code quality is very low. It is impossible to install (a debian package) or run it. For example, debian installer fails to create user/group, and then choown fails during install. Log directories are created with invalid permissions. Once I rebuilt the package and installed it, it kept crashing (seg fault). If you look in a source, they have following fragment at start of each daemon:

serverConfig_t config;

int result;

g_mime_init(0);

openlog(PNAME, LOG_PID, LOG_MAIL);

result = serverparent_getopt(&config, "IMAP", argc, argv);

the serverparent_getopt calls a function ClearConfig(config) , with following body:

void ClearConfig(serverConfig_t * config)

{

g_free(config->listenSockets);

g_strfreev(config->iplist);

memset(config, 0, sizeof(serverConfig_t));

}

well, as you may see "serverConfig_t config" variable is an uninitialized stack variable, no wonder this thing crashes.

I stopped looking after that. The product is too immature for any use, despite "production/stable" claim. Avoid any serious use for now.

Rcomment-before 28 Apr 2004 12:56 Rcomment-trans cumshot Rcomment-after

Re: Need your help!!
Agreed... join the damn mailing list (or even google for discussions). It is alive and well, Sieve support is being integrated, Aaron has written an LMTP daemon for lightning fast transfers, Exchange compatibility is slowly being added...

Basically, if you're not an experienced mail administrator, DBmail + Postfix may not be what you want. It is for large sites with many virtual users (I have a few hundred, with many aliases and a mail-to-forums gateway along with various automated hooks and Amavisd/Mailguard/Spsmassassin dual-MTA setup) and many domains, who are comfortable with keeping their database tuned and backed up, and want a central point of administration for email.

And for that purpose, it beats the piss out of all competitors by a country mile. If you're looking for something like 'Exchange without the bugs' or 'a database storage backend for Postfix/Cyrus/Qmail' then DBmail is what you want. 4 release candidates for 2.0 in 1 month, and you think it's a dead project? Sitss with half a terabyte of mail figuring out how to mirror their backend, and you think there are more stable, featureful competitors?

I beg to differ with that assessment. DBmail is worth the trouble of a Google search and reading the docs, thanks much. It is alive and well.

Rcomment-before 21 Feb 2004 08:23 Rcomment-trans SodaBrew Rcomment-after

Re: Need your help!!

> Its sad, but I think this projet is dead.
> No more answers from the author.

Alive and well and you're welcome to join the mailing list. As with most "the author doesn't respond, it must be dead" posts, the author is too busy working on the project to respond to "are you dead yet?" emails that just waste his time.

Rcomment-before 18 Feb 2004 21:50 Rcomment-trans gil555 Rcomment-after

Re: Need your help!!
Its sad, but I think this projet is dead.
No more answers from the author.
The documentation included is less than poor.
The online documentation is fading on dead sites.
The product is good but lacks just a few corrections. Its a shame.
I Have spended SEVERAL days trying to make dbmail work in a apropriate way. I am half way of getting it done. But I cant find any more help. I am just about of kiking it away.

Rcomment-before 05 Dec 2001 16:17 Rcomment-trans tthomas48 Rcomment-after

Those having trouble with dbmail
I've been using this since v.03 with no problems. The one big place to look is /etc/postfix/master.cf. Make sure you have a line like:
dbmail unix - n n - - pipe
flags= user=dbmail:dbmail argv=/usr/local/bin/dbmail-smtp -d ${reci
pient}

also make sure that your dbmail-smtp executable is where you've pointed the config file. I can't testify to the IMAP client, and I think it's still under development in any case.

E190b4c49e0534225bbabc9eac0556f1_thumb

Project Spotlight

Tiny Calculator

A simple command line calculator that resolves mixed expressions.

D8ca4842fd212b1dc01e924958694fbd_thumb

Project Spotlight

Tric-Tac-Toe

A new twist (or perhaps "tilt") on the classic Tic-Tac-Toe game.