1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

convert exim mail storage to qmail maildir

Discussion in 'Plesk for Linux - 8.x and Older' started by k.satirli, Aug 16, 2005.

  1. k.satirli

    k.satirli Guest

    0
     
    has anyone got a few hints for me on how I can convert old exim mails (created on a cpanel powered server) to the qmail format?

    horde has an option to upload the file and it would convert it. it worked fine for small files ( < 8 mb) but mine are all around 100 mb and uploading those via the browser is ... well impossible.

    a shell script would be awesome or anything that works painlessly for 20 big files.
     
  2. hardweb

    hardweb Guest

    0
     
  3. k.satirli

    k.satirli Guest

    0
     
    thanks for your help. I had a go at the script and it semi-worked:

    Code:
    perl mb2md.pl -s /root/test/inbox -d /var/qmail/mailnames/domain.com/liquidblaze
    returned:

    Code:
    Converting /root/test/inbox to maildir: /var/qmail/mailnames/domain.com/liquidblaze
    Source Mbox is /root/test/inbox
    Target Maildir is /var/qmail/mailnames/domain.com/liquidblaze 
    Dummy mail system first message detected and not saved.
    3 messages.
    however, the messages dont show up in my inbox nor anywhere else..

    [EDIT]

    woohoo. found it.

    the target mail dir should be:

    /var/qmail/mailnames/domain.com/liquidblaze/Maildir

    somehow ... obvious :rolleyes:
     
Loading...