OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Adrian Bolzan (Adrian.Bolzanaot.com.au)
Date: Tue Jan 29 2002 - 00:10:49 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I am trying to get SASL enabled on my postfix server.
    I followed the instructions in the SASL_README, as well as a doc on
    www.thecabal.org but am having some trouble with enabling CRAM-
    MD5.

    By default CRAM-MD5 is supposed to be enabled when compiling
    SASL, and I see it is. I also have tried enabling it manually with the
    opion "--enable-cram".

    I then recompile postfix, enabling SASL (using the instructions in the
    SASL_README). However, when I then do an EHLO on the server all I
    get are the options

    ehlo bashme
    250-bashme.aot.com.au
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-XVERP
    250 8BITMIME

    the AUTH type does not include CRAM-MD5 and I need this for my e-
    mail clients.

    I have in my main.cf:

    --main.cf-----
    smtpd_recipient_restrictions = permit_mynetworks, \
       permit_sasl_authenticated,check_relay_domains
    virtual_maps = hash:/etc/postfix/files/virtual
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_local_domain = $myhostname
    -----

    In master.cf the only change from the install is to comment out the local
    transport (as this server uses transport maps to send mail by SMTPO to
    groupware servers on ur network):

    ----master.cf-----
    smtp inet n - n - - smtpd
    #628 inet n - n - - qmqpd
    pickup fifo n - n 60 1 pickup
    cleanup unix n - n - 0 cleanup
    qmgr fifo n - n 300 1 qmgr
    #qmgr fifo n - n 300 1 nqmgr
    rewrite unix - - n - - trivial-rewrite
    bounce unix - - n - 0 bounce
    defer unix - - n - 0 bounce
    flush unix n - n 1000? 0 flush
    smtp unix - - n - - smtp
    showq unix n - n - - showq
    error unix - - n - - error
    #local unix - n n - - local
    virtual unix - n n - - virtual
    lmtp unix - - n - - lmtp
    #
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    # The Cyrus deliver program has changed incompatibly.
    #
    cyrus unix - n n - - pipe
      flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    uucp unix - n n - - pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
    ($recipient)
    ifmail unix - n n - - pipe
      flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp unix - n n - - pipe
      flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
    $recipient

    ----
    

    any help with getting CRAM-MD5 enabled in postfix would be appreciated.

    adrian

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users