-ERR Maildir invalid (no 'cur' directory)

Discussion in 'HOWTO-Related Questions' started by binjured, Jun 12, 2006.

  1. binjured

    binjured New Member

    I decided to start a new thread because this doesn't really apply to the other thing.

    Refers to: http://www.howtoforge.com/virtual_postfix_mysql_quota_courier_p2

    1) I sent an e-mail to my server. First login said "Maildir doesn't exist", second attempt said "Maildir invalid (no 'cur' directory)".
    2) I tried manually adding a "cur" directory, but that didn't do anything but get rid of the error.
    3) Below is my mail.log output!
    Code:
    Jun 12 00:22:48 localhost pop3d-ssl: Connection, ip=[::ffff:192.168.0.6]
    Jun 12 00:22:50 localhost postfix/smtpd[32602]: connect from localhost.localdomain[127.0.0.1]
    Jun 12 00:22:50 localhost postfix/smtpd[32602]: 0ED361B32D2: client=localhost.localdomain[127.0.0.1]
    Jun 12 00:22:50 localhost postfix/cleanup[32590]: 0ED361B32D2: message-id=<[email protected]>
    Jun 12 00:22:50 localhost postfix/qmgr[31961]: 0ED361B32D2: from=<[email protected]>, size=3520, nrcpt=1 (queue active)
    Jun 12 00:22:50 localhost amavis[31938]: (31938-01) Passed, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, Hits: 0.703
    Jun 12 00:22:50 localhost postfix/smtp[32591]: 2960C1B32D1: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=10, status=sent (250 2.6.0 Ok, id=31938-01, from MTA: 250 Ok: queued as 0ED361B32D2)
    Jun 12 00:22:50 localhost postfix/qmgr[31961]: 2960C1B32D1: removed
    Jun 12 00:22:50 localhost postfix/smtpd[32602]: disconnect from localhost.localdomain[127.0.0.1]
    Jun 12 00:22:50 localhost postfix/virtual[32604]: fatal: gethostbyname: No such file or directory
    Jun 12 00:22:51 localhost postfix/qmgr[31961]: warning: premature end-of-input on private/virtual socket while reading input attribute name
    Jun 12 00:22:51 localhost postfix/qmgr[31961]: warning: private/virtual socket: malformed response
    Jun 12 00:22:51 localhost postfix/qmgr[31961]: warning: transport virtual failure -- see a previous warning/fatal/panic logfile record for the problem description
    Jun 12 00:22:51 localhost postfix/master[31612]: warning: process /usr/lib/postfix/virtual pid 32604 exit status 1
    Jun 12 00:22:51 localhost postfix/master[31612]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling
    Jun 12 00:22:52 localhost pop3d-ssl: Connection, ip=[::ffff:192.168.0.6]
    Jun 12 00:22:52 localhost pop3d-ssl: LOGIN, [email protected], ip=[::ffff:192.168.0.6]
    Jun 12 00:22:52 localhost pop3d-ssl: scancur opendir("cur"): No such file or directory
    Jun 12 00:23:10 localhost postfix/smtpd[32583]: disconnect from nf-out-0910.google.com[64.233.182.190]
    
    It looks to me that there's something wrong with the virtual transport of the file, but unfortunately I have been at this "setting up a Linux server" thing for about 2 days.

    Please help, thank you!
     
  2. binjured

    binjured New Member

    SOLVED: After going through about 6 Google result pages I found out I *might* want to check my /etc/hosts for invalid entries :rolleyes:
     
  3. pksings

    pksings New Member

    2016, this same error using Ubuntu 14.04 after /home drive failure and restore of data.
    Turns out Courier-pop3d was looking for a folder named "cur" in .Maildir folder, note spelling. I already had .maildir .MailDir and Maildir. They did not work, required directory name and folder .Maildir/cur with 600 permissions. A link between .maildir and Maildir worked just fine.
     
    Last edited: Jun 13, 2016

Share This Page