postfix +sasl =problem

Discussion in 'HOWTO-Related Questions' started by mopsos, Feb 6, 2007.

  1. mopsos

    mopsos New Member

    I follow the howto
    for my server with debian sarge.
    But I have problems :

    When you say
    echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
    This directory doens't exist on my configuration. I decide to create this folder and the file smtpd.conf

    I follow the howto. But when I arrive to :
    telnet localhost 25
    I don't see the lines
    but only this
    250-SIZE 10240000
    250 8BITMIME
    Where is the problem?

    # See /usr/share/postfix/ 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
    myhostname =
    mydomain =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    # myorigin = /etc/mailname
    myorigin = /etc/mailname
    mydestination = $myhostname localhost.$mydomain $mydomain
    # rajout de linux-france: mode de transport
    default_transport = smtp 
    #relayhost  = 
    alias_maps = hash:/etc/aliases 
    alias_database = hash:/etc/aliases
    mynetworks =, monip, localhost,localhost.localdomain
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_protocols = all
    inet_interfaces = all
    # rajout de lea : gestion de la boite mail en maildir
    home_mailbox = Maildir/
    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
    relayhost = 
    mailbox_command = procmail -a "$EXTENSION"
    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
    In My mail.log I can see this
    Feb  6 00:45:16 sd-5581 postfix/smtpd[4687]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
    Last edited: Feb 6, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you follow the tutorial as close as possible?

    How did you install Postfix?
  3. mopsos

    mopsos New Member

    Thank you for response.
    I find the problem. I must do :apt-get install postfix-tls in addition.

    Now it's ok, my server mail is good. But I couldn't install amavis. I have a problem in the configuration...
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you copy the amavisd file from the tutorial?
    Which browser do you use? There could be a problem if you use Internet Explorer.

Share This Page