The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

maildir conversion, really have to ?

Discussion in 'E-mail Discussions' started by jameshsi, Oct 7, 2005.

  1. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Hi!
    I saw the warning in WHM this morning, do we really have to do the conversion ?
    It seems some people have problem after the conversion, anyone done this and feel better than before ? Need advice, appreciated.
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I never had any problems with the process. I did it on all my servers and they all went very smoothly.
     
  3. elitewebninja

    elitewebninja Active Member

    Joined:
    Jan 2, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta Ga!
    I did it on both of my servers and exim BARF'D!! I called the number that they said to call, but wouldn't you know it... it's not a 24 hour number. It was either fix it, or wait 10 hours for them to open. It was completely down.

    I had to /scripts/eximup --force to get it back up. And of course when I did that, it overwrote my exim.conf (where the actual problem was so there was no avoiding it) and antivirus.exim files... so then I had to re-apply all my spam filters (rbl, antivirus etc). Good thing I had backups :)

    Mail was down for about 20 minutes.

    HUGE P.I.T.A!
     
    #3 elitewebninja, Oct 7, 2005
    Last edited: Oct 7, 2005
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just remember that Neomail won't work afterwards.
     
  5. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    Why didn't Cpanel just upgrade to imap-2004g as mentioned in the advisory. that's the most natural path and least likely to have issues. Forcing a conversion to maildir which has a potential to break things just seems mightily unwise especially when you are talking about production servers (and lots of them in our case)
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I would guess that they've made code modifications to cater for the virtual user setup and need to either back port the fixes or redo the modifications. This way at least there's an alternative in the meantime while the vulnerability exists. You're free to ignore it and wait for a newly patched cpimap daemon if you want.
     
  7. elitewebninja

    elitewebninja Active Member

    Joined:
    Jan 2, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta Ga!
    Will we be able to go back to what we had before or are we stuck with this if we've already converted?
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you run /scripts/convert2maildir there're options for backing up the current setup which you can restore to and also to convert from one back to the other.
     
  9. elitewebninja

    elitewebninja Active Member

    Joined:
    Jan 2, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta Ga!
    Yeah... I tried that last night after the original exim barf.... didn't work. That's why I had to go ahead and do the eximup thing.

    Hopefully it'll work by the time a patch is released.
     
  10. rebelo

    rebelo Active Member

    Joined:
    Jun 30, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    the dark side of the moon
    Well, we have done it.
    Everything appears to work but emails are not getting in or out.
    Have placed a ticket to see what to do.

    What is the best way to restore it back ?
    Convertion was made from whm.
     
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you checked your exim mainlog as to where the problem might be? Running the following can often sort such issues out:

    /scripts/buildeximconf
    /scripts/mailscannerupdate
    #if you have mailscanner installed)
    /scripts/restartsrv_exim
    /scripts/restartsrv_courier


    As for converting back, which probably isn't such a great idea as maildir looks to be the way forward, you should run /scripts/convert2maildir and take the appropriate options of the menu you're presented with.
     
  12. ffeingol

    ffeingol Well-Known Member
    PartnerNOC

    Joined:
    Nov 9, 2001
    Messages:
    215
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    If we do convert to maildir what all does it break? You mentioned Neomail. How does it affect the transfer funciton within WHM? From memory that converts other sytems to mbox format (the default for cpanel). Is it going to break transfers or do we have to run the conversions evertime after we transfer an account?
     
  13. elitewebninja

    elitewebninja Active Member

    Joined:
    Jan 2, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta Ga!
    By the way... I just thought I would add that we're getting a slew of emails from people concerning their mailboxes.

    If they are using horde, no problem, but if they are using squirrelmail and if they had created other folders in the folder list, they won't be able to see them after the conversion. They will have to go to the "folders" link at the top and SUBSCRIBE to the folder and then refresh their folder list. All the stored mail in these folders seems to be there and working properly. This doesn't effect new folders, but it does effect the converted folders.

    Hope this helps.
     
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've recently spotted that issue too. In a related note, if people are using Neomail that can switch to using Squirrelmail in the same manner, i.e. subscribing their folders into Squirrelmail.

    As for account migration, I've no idea how that works when moving between the two architectures.
     
  15. jensendw

    jensendw Member

    Joined:
    Aug 7, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    The way I understand it is that only people using the 10.8 release can upgrade? And eveyrone else has to wait?
     
  16. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    I started the mail conversion , but I received this error (on log)

    imap has failed, please contact the sysadmin (result was "couriertcpd is not runningauthdaemond is not running").
    Courier Install Failed, bailing out!


    however ......... when I execute

    /scripts/restartsrv_courier

    service restart without errors !.


    On whm/RESTART services I still have the text line "IMAP Server (uwimap)"

    How can I be sure that new mail system is working ? Or am I still with old mail sistem ?

    Also if I can send and receive email , I have some doubt it was installed due to the errors received above on the log .


    Any idea ?
    Thank you
     
  17. neta5

    neta5 Active Member

    Joined:
    Oct 7, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Dear Friends,
    When I saw the: "UW-imapd Mailbox Name Parsing Buffer Overflow Vulnerability" and click on link in that message.
    Start to convert ,and back up the my existing mailboxes before converting.
    It was about 8 Hours ago!
    But now when I log in my Mailbox, I see this Note in my left menu:
    ------
    ERROR : Could not complete request.
    Query: CREATE "Sent"
    Reason Given: Invalid mailbox name.
    -------

    Now, I have a question,
    Is still conveting in progress? or it finished and I found a problem?
    if its a problem how I can solve it?

    :confused: :confused: :confused:
     
  18. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    after the maildir conversion
    on server status cpanel page I see ONLY


    Server Load 0.89 (1 cpu)
    Memory Used 57.1 %
    Swap Used

    and disk usage ..

    No info about httpd , named , exim and so on ... :confused:
     
  19. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I did the conversion and now I get an authentification error when I try to login to pop email using outlook. Anyone have ideas how to fix this? I have a ticket in with cpanel, yet I image they are swamped.
     
  20. AlexAT

    AlexAT Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ukraine
    cPanel Access Level:
    Root Administrator
    Update take time.
    On my servers it takes several hours.

    See your log file for this update:
    tail -f /var/cpanel/updatelogs/maildirconversio*

    Please take care and not look too long since on 1 of my servers I have this file near 990Mb of size.
     
Loading...

Share This Page