imap

Discussion in 'Installation/Configuration' started by Tripple, Oct 11, 2007.

  1. Tripple

    Tripple New Member

    I already have some ispconfig servers running Debian.
    Now I want to transfer my local imap mailserver to a virtual machine with ispconfig but this doesn't look so easy.

    The imap mailserver is a Mandriva Powerpack + 2007 installation with Postfix and mbox.

    - When I want to transfer all mailboxes to Maildir, somehow this didn't work out. Adding folders etc. was a complete mess.

    - I was able to copy all mailboxes to a Mandriva system (perfect setup). But as soon as some user tried to receive a mail there's this error:

    ... delay=1.3, delays=1/0.01/0/0.25, dsn=5.2.0, status=bounced (can't create user output file. Command output: /bin/sh: line 2: -oi: command not found procmail: Error while writing to "/var/spool/mail/vs11_user1" )

    or this:

    ... can't create user output file. Command output: /bin/sh: line 2: -oi:
    command not found

    When I remove the mailbox again, a new file is created and that user can receive his mail again.

    Just for testing purpose I tried this:
    # cd /var/spool/mail/
    # cat vs11_user1_orig > vs11_user1

    Guess what, there's the error again.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The easiest way might be:

    Connect to both servers in your email cleint and copy all files with drag and drop in your mail client to the new server. Every imap capable mailclient should work for this.
     
  3. Tripple

    Tripple New Member

    I started it this way but there are quite some users to transfer. I cancelled everything an posted my problems on this forum. ;)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ahh, ok :)

    The error message you posted is caused by a missing procmail. Please install procmail to fix this.

    If your new server has maildir, the email is stored in directories under the homedir of the user and not in /var/spool/mail. To convert a mbox file to maildir, the program mb2md might be handy.
     
  5. Tripple

    Tripple New Member

    I'm not sure about a missing procmail since new mailboxes are working fine.
    I always start a new ispconf setup with the perfect setup which is very handy.

    Maybe I should spend more time in mb2md. I started this program without the expected result.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    You can install procmail like this:
    Code:
    apt-get install procmail
     
  7. Tripple

    Tripple New Member

    I don't thinks so. The errors came from a Mandriva system.
    Anyway, when I check procmail:
    # whereis procmail
    procmail: /usr/bin/procmail /usr/share/man/man1/procmail.1.bz2

    Now I remember why I quit Debian. I couldn't create a sent box. After sending a mail the mail reader couldn't save this mail and waited forever.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such known problem with ISPConfig on debian and the perfect setup. The only thing you might have missed is to enable maildir in ISPconfig under management > server > settings.
     
  9. Tripple

    Tripple New Member

    Most of the desktop computers running Mac OSX. I had to add INBOX to the prefix IMAP-path. This had indeed nothing to do with ISPConfig nor with Courier.

    All mails are transfered to the new Debian system with ISPConfig. This are working perfectly now. Thanks.
     

Share This Page