Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

dbmail-export 2.3.6

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


pwadas at jewish

Nov 17, 2009, 12:28 AM

Post #1 of 4 (730 views)
Permalink
dbmail-export 2.3.6

When exporting user email folder, with dbmail-export 2.3.6,
the date field is in invalid format. At least from postgres 8.4.

Exported mbox file has

From sender [at] domainc 2009-08-25 08:08:02

while this is considered invalid, and should be

From sender [at] domain Mon Nov 16 09:22:42 2009

This, of course, applies to envelope From line, not the username header
"From: ".
This can be related to system locale, anyway with the YYY-MM-DD HH:mm:ss
format,
various email programs like pine, dovecot server mbox accessing process,
etc. gets confused.

Regards,
DT
--
View this message in context: http://old.nabble.com/dbmail-export-2.3.6-tp26386089p26386089.html
Sent from the dbmail users mailing list archive at Nabble.com.

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


pwadas at jewish

Nov 17, 2009, 12:36 AM

Post #2 of 4 (683 views)
Permalink
Re: dbmail-export 2.3.6 [In reply to]

The question is where to find a query to modify, to avoid filtering dump
through a regex :)
Regards,
DT
--
View this message in context: http://old.nabble.com/dbmail-export-2.3.6-tp26386089p26386160.html
Sent from the dbmail users mailing list archive at Nabble.com.

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


paul at nfg

Nov 17, 2009, 2:38 AM

Post #3 of 4 (674 views)
Permalink
Re: dbmail-export 2.3.6 [In reply to]

Piotr Wadas wrote:
>
> The question is where to find a query to modify, to avoid filtering dump
> through a regex :)
> Regards,
> DT


Piotr,

the code involved is in src/dbmail-mailbox.c around line 353

try attached patch.




--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
Attachments: 0001-fix-From_-header-date-during-export.patch (1.29 KB)


pwadas at jewish

Nov 17, 2009, 10:18 AM

Post #4 of 4 (681 views)
Permalink
Re: dbmail-export 2.3.6 [In reply to]

>Piotr,
>the code involved is in src/dbmail-mailbox.c around line 353
>try attached patch.

Bingo :) I first thoght it doesn't, because I just replaced dbmail-export
binary
with fresh build, then I followed the whole construction, discovered how
dbmail_dump_mailbox is actually implemented (as shared lib) , rebuild
the whole package (with debuild, to be exact), and you were, of course,
right.
Regards, and thanks!
DT
--
View this message in context: http://old.nabble.com/dbmail-export-2.3.6-tp26386089p26394909.html
Sent from the dbmail users mailing list archive at Nabble.com.

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

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.