Am 23.04.2014 18:34, schrieb furface:
> This seems like a rather harsh suggestion.  I've been using Dovecot Maildirs 
> for years and frequently examine the
> contents of Maildirs, and in rare instances manipulate the contents.  One of 
> the reason's I'm trying DBMail is
> because sql provides a more robust data interface than file systems.  It 
> would be disappointing to find out that it
> is more problematic than using Maildirs.

it's possible but unsupported and will take a lot of work

manipulate the contents?
don't do that - never - in no setup you break signed messages

don't do that in case of dbmail because if three people have the
same textfile attachment each in 5 messages you manipulate at the
same time that mime-part for all of them

frankly forgot the idea to re-constrcut dbmail-messages with
selfmade scripts - i (as user) have spent a lot of hours to
debug message-reconstruction for complex messages with a lot
of mime-parts and nested attachments with the lead developer
and i can tell you for sure re-invent the wheel and do that
outside of dbmail leads straight to hell

sure, it is do-able but it is pretty dumb
use imap-libraries and fetch the recostructed message with them
that is a standarized protocol, the low-level storage of a
de-duplicating mailserver is usually not your businesss

> In fact standard mail delivery infrastructure is designed to have multiple 
> apps query and manipulate data stores. 
> For instance IMAP and LMTP.
> 
>>> using Mysql querries, can an administrator search, query and manipulate the 
>>> records?
>> don't do that - the db-scheme may change and low-level tables
>> are no public interface, you can in theory but you have two
>> problems:
>>
>> * complexity / error-prone / safety (if you make mistakes you leak infos)
>> * not a stable interface
>>
>> in dbmail 2.x there was no de-duplication, all tools like my admin-backends
>> only working with the high-level tables are working unchanged, anything
>> touching message-bodies directly would needed to be rewritten

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to