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

Mailing List Archive: DBMail: users

converting from maildir to dbmail

 

 

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


af at faino

Feb 21, 2009, 8:01 AM

Post #1 of 5 (1795 views)
Permalink
converting from maildir to dbmail

Hi,

I am trying to substitute a courier install with dbmail. Of course the
current email archive must be preserved across the pc and the software
upgrade. I have tried to convert a few maildirs with
contrib/mailbox2dbmail in the source tree, but looks like date is not
preserved as well as the folder tree structure.

Any hints?

Best regards,
Andrea Fino

--
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"
[Web: http://www.faino.org ]+[Email: af [at] faino ]

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


michael.monnerie at is

Feb 21, 2009, 11:07 AM

Post #2 of 5 (1691 views)
Permalink
Re: converting from maildir to dbmail [In reply to]

On Samstag 21 Februar 2009 Andrea Fino wrote:
> looks like date is not
> preserved as well as the folder tree structure.

Try uploading a sieve script into the account before the input, dbmail
will then happily filter. Otherwise, you must start an upload per each
folder.

I just used mailbox2dbmail today and my dates are correct.

mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


af at faino

Feb 22, 2009, 7:14 AM

Post #3 of 5 (1685 views)
Permalink
Re: converting from maildir to dbmail [In reply to]

Michael Monnerie wrote:
> On Samstag 21 Februar 2009 Andrea Fino wrote:
>
>> looks like date is not
>> preserved as well as the folder tree structure.
>>
>
> Try uploading a sieve script into the account before the input, dbmail
> will then happily filter. Otherwise, you must start an upload per each
> folder.
>
> I just used mailbox2dbmail today and my dates are correct.
>
>

I thank you for your suggestion. By the way, I never used sieve
functionality at all. Could you point to a sample of such a script?

When I say : "date is not ok" I mean that instead of the original date
in which the email was received / sent, I find the date of the day in
which the mailbox2dbmail script was executed.

Best regards,
Andrea Fino


--
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"
[Web: http://www.faino.org ]+[Email: af [at] faino ]

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


michael.monnerie at is

Feb 23, 2009, 11:37 AM

Post #4 of 5 (1676 views)
Permalink
Re: converting from maildir to dbmail [In reply to]

On Sonntag 22 Februar 2009 Andrea Fino wrote:
> I thank you for your suggestion. By the way, I never used sieve
> functionality at all. Could you point to a sample of such a script?

require ["fileinto", "reject", "envelope", "vacation", "subaddress",
"relational", "comparator-i;ascii-numeric", "regex"];

if anyof (header :contains "to" ["@domain1"],
header :contains "list-id" ["<mail.list.id.info>"] ) {
fileinto "Private/allgemein";
stop;
}
if header :contains "list-id" ["this.list.id"] {
fileinto "Projekte/uhuh";
stop;
}

if anyof ( header :contains ["from","to","cc","bcc"]
["@suse.com","opensuse-security-announce [at] opensuse","cert-
advisory [at] cert","@us-cert.gov"],
header :contains ["list-id"] ["gallery-
announce.lists.sourceforge.net","<twiki-
announce.lists.sourceforge.net>"] ) {
fileinto "lists/security";
stop;
}


mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


af at faino

Feb 23, 2009, 11:52 PM

Post #5 of 5 (1681 views)
Permalink
Re: converting from maildir to dbmail [In reply to]

Michael Monnerie wrote:
> On Sonntag 22 Februar 2009 Andrea Fino wrote:
>
>> I thank you for your suggestion. By the way, I never used sieve
>> functionality at all. Could you point to a sample of such a script?
>>
>
> require ["fileinto", "reject", "envelope", "vacation", "subaddress",
> "relational", "comparator-i;ascii-numeric", "regex"];
>
> if anyof (header :contains "to" ["@domain1"],
> header :contains "list-id" ["<mail.list.id.info>"] ) {
> fileinto "Private/allgemein";
> stop;
> }
> if header :contains "list-id" ["this.list.id"] {
> fileinto "Projekte/uhuh";
> stop;
> }
>
> if anyof ( header :contains ["from","to","cc","bcc"]
> ["@suse.com","opensuse-security-announce [at] opensuse","cert-
> advisory [at] cert","@us-cert.gov"],
> header :contains ["list-id"] ["gallery-
> announce.lists.sourceforge.net","<twiki-
> announce.lists.sourceforge.net>"] ) {
> fileinto "lists/security";
> stop;
> }
>
>
> mfg zmi
>
I thank you, also read some basic documentation. One information I
missed to give probably is that my dbmail installation authenticate
against an Active Directory (Microsoft Server).

May be that the reason of date set to the run of mailbox2dbmail?

Best regards,
Andrea Fino

--
Andrea Fino 8-) - "Sistemi su misura di qualita' industriale"
"Handcrafted systems with industrial quality"
[Web: http://www.faino.org ]+[Email: af [at] faino ]

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/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.