PostFix won't authenticate

Discussion in 'Installation/Configuration' started by jcoen, Mar 17, 2008.

  1. jcoen

    jcoen New Member

    This is a new Debian Etch install ("Perfect Etch Setup").

    For some reason, PostFix won't authenticate.

    I can see in webmin that the accounts are getting mail, just won't authenticate and download in Outlook.

    Created the username/password and email address within ISPConfig

    Here's a tail of the mail log.
    http://www.thec-team.com/ispconfig/tail_postfix.jpg

    Can anyone see what I did wrong?

    Thanks.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You must send an email first to a new account before you can fetch mails. Maildir is created once the first email arrives.
     
  3. jcoen

    jcoen New Member

    I can see that emails have already arrived in those accounts by using the "View Mailboxes" in Webmin.

    Still won't authenticate. Any other ideas?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/main.cf? How do you create your mail accounts (manually, Webmin, ISPConfig, ...)?
     
  5. jcoen

    jcoen New Member

    I think this is a dump of the main.cf file as requested ...

    I use ISPConfig to set up mail accounts.

    =================================
    =================================


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


    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    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

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = coen01.thec-team.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = coen01.thec-team.com, localhost.thec-team.com, localhost.localdomain, localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    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
    smtp_tls_note_starttls_offer = yes
    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


    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Did you enable Maildir in ISPConfig (Management > Server > Settings > Email)?
     

Share This Page