Postfix sends mail to mbox not to Maildir

Discussion in 'Server Operation' started by rare, May 7, 2007.

  1. rare

    rare New Member

    Hi all,

    I read over 30 threads on this forum and search on Google over 8 hours.

    My system was 100% operational. Yesterday I ran “yum update” and it update courier to new version. From that time all mail are in /var/spool/mail/.

    I use fedora core 5 with ispconfig. I setup it as in tutorial. I use courier-imap, courier-authlib and saslauthd services.

    If I with mb2md transfer mails to Maildir everything is OK. I can download them through POP3.

    Also in ispconfig->management->server->settings->email
    Maildir is checked.

    This is my main.cf
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    mydestination = $myhostname, localhost.$mydomain, localhost
    unknown_local_recipient_reject_code = 550
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases

    debug_peer_level = 2
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5

    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.8/samples
    readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
    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
    mydestination = /etc/postfix/local-host-names
    relay_domains = $mydestination
    virtual_maps = hash:/etc/postfix/virtusertable
    home_mailbox = Maildir/



    Pleeeease help,
    Rare
     
  2. falko

    falko Super Moderator Howtoforge Staff

    But the tutorial install dovecot, not Courier...

    What's the output of
    Code:
    netstat -tap
    ? Any errors in your mail log?
     

Share This Page