Postfix - Courier problem

Discussion in 'Server Operation' started by Ward, Dec 12, 2006.

  1. Ward

    Ward New Member


    I've just installed postfix and courier but the problem is that the server can handle email and then put them in

    The mails are in a file. All mails in one file of 1user

    example. file [email protected] contains all the mails of that user

    But now my courier is giving me the following error.

    Jan 11 23:32:43 eddy pop3d: Connection, ip=[::ffff:]
    Jan 11 23:32:43 eddy pop3d: chdir /var/virtual/ Not a directory
    I think he is expecting dirs but I don't have dirs :) but files.

    And what is the "cur" and "new" directory for? I needed to make them to prevent an error.

    #DEFAULT_DOMAIN         domain.tld
    MYSQL_CLEAR_PWFIELD     password
    MYSQL_DATABASE          postfix
    MYSQL_GID_FIELD         '1001'
    MYSQL_HOME_FIELD        '/var/virtual'
    MYSQL_LOGIN_FIELD       username
    MYSQL_MAILDIR_FIELD     maildir
    MYSQL_NAME_FIELD        name
    MYSQL_OPT               0
    MYSQL_PASSWORD          ***
    #MYSQL_PORT             0
    # Uncomment below if you want quota support.
    #MYSQL_QUOTA_FIELD      quota
    MYSQL_SERVER            localhost
    # Default FreeBSD Socket
    #MYSQL_SOCKET           /var/mysql/mysql.sock
    # Default RedHat Socket
    #MYSQL_SOCKET           /var/lib/mysql/mysql.sock
    # Default Debian Sarge Socket
    #MYSQL_SOCKET           /var/run/mysqld/mysqld.sock
    MYSQL_UID_FIELD         '1001'
    MYSQL_USERNAME          **
    MYSQL_USER_TABLE        mailbox
    #MYSQL_WHERE_CLAUSE     server=''
  2. falko

    falko Super Moderator ISPConfig Developer

    The problem is that you're currently using the mbox format, but Courier expects the Maildir format.

    Did you follow any of the tutorials here on HowtoForge?

Share This Page