Maildir: no such file or directory

Discussion in 'Installation/Configuration' started by jeanjacquesjeanjacques, Jan 20, 2006.

  1. Hello,
    My server was working just fine for months but suddenly i can't receive my mails anymore. My mail client is giving me the message "Maildir: no such file or directory".
    I had a look back to http://www.howtoforge.com/perfect_setup_debian_sarge_p4 and saw that
    "
    You do not have to do this if you intend to use ISPConfig on your system as ISPConfig does the necessary configuration using procmail recipes.
    postconf -e 'home_mailbox = Maildir/'
    postconf -e 'mailbox_command ='
    /etc/init.d/postfix restart "

    What i really don't understand is that inside my /home/www/web12/ folder i have a Maildir alias which is pointing to himself (Maildir -> /home/www/web12/user/web12_jeanjacques/Maildir) and all the emails are arriving inside /home/www/web12/user/web12_jeanjacques/.

    This is my mail.err log:

    Jan 20 09:22:27 hulk courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]


    I don't really where to look at, as this error arrived suddenly.

    Your help would be really appreciated.

    Best regards,

    Below here is my postfix config file:

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    mydomain = hulk
    myhostname = hulk.localhost
    virtual_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    relayhost =
    mynetworks = 127.0.0.0/8
    #mynetworks = 192.168.5.10
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you changed anything before this account stopped working?

    Thats OK, if the user is the administrator of the website.

    Did the emails arrive in /home/www/web12/user/web12_jeanjacques/ or in /home/www/web12/user/web12_jeanjacques/Maildir ?
     
  3. Hello Till,

    No apparently i changed nothing before the account stopped working, this is really why i don't understand what's going on.
    This user is the administrator of the website so apparently the alias is normal.

    The emails are arriving inside /home/www/web12/user/web12_jeanjacques/ and NOT in /home/www/web12/user/web12_jeanjacques/Maildir

    if i do a "cd Maildir" the bash is returning me an error message telling me that the folder doesn't exist...
     
  4. Apparently the problem is coming from procmail.
    I have deleted the alias and recreated a Maildir folder. but now i have this error message Maildir invalid "no 'cur' directory.

    Have you ever seen this ?
     
  5. Do you think that it's safe to manually create the Maildir using the command maildirmake ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add this to your postfix main.cf file:

    home_mailbox = Maildir/

    and restart postfix.
     
  7. Hello Till,

    Thank you now, everything is working properly.
    I had to re-create the Maildir folder using the maildirmake command.

    Best regards,

    JJ
     

Share This Page