Perfect Setup - Fedora Core 3 - saslauthd problem

Discussion in 'Installation/Configuration' started by Median, Jan 26, 2006.

  1. Median

    Median New Member

    Hi.

    I read in one of Falko's posts somewhere that the Perfect Setup Fedora Core 3 is basically the same for Fedora Core 2. I have followed that and have got so far, but now I have encountered my first error.

    works fine.
    We then come to
    and I get an error,
    Code:
    error reading information on service imap: No such file or directory
    which is fine as Dovecot was installed instead of imap, so I change this to
    Code:
    chkconfig Dovecot on
    and it seems to be ok.
    all produce the same error.

    >>>>> Should I replace these lines with anything or just leave them out?

    All seem to work ok apart from
    which throws an error saying
    Code:
    could not read from startup_pipe
    If I just type
    Code:
    saslauthd start
    at the prompt I get an error telling me
    Code:
    no authentication method specified
    and list of options which seems to suggest that saslauthd is there somewhere ready to go but I'm just not giving it the right information. I tried
    Code:
    saslauthd -a pam
    which throws up the message:
    Code:
    saslauthd[22578] :detach_tty      : Cannot start saslauthd
    saslauthd[22578] :detach_tty      : could not read from startup_pipe
    
    Obviously I'm missing something here. Would be grateful if someone could help me out.

    Thanks in advance
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Leave them out.

    Did you do all the steps from http://www.howtoforge.com/perfect_setup_fedora_core_3_p4 ?

    What's in /usr/lib/sasl2/smtpd.conf?
    What's the output of
    Code:
    telnet localhost 25
    (this telnet thing is also described on http://www.howtoforge.com/perfect_setup_fedora_core_3_p4)?
     
  3. Median

    Median New Member

    >>>>> Yes, to the letter

    >>>>>
    Code:
    pwcheck_method: saslauthd
    mech_list: plain login

    Code:
    [root@median root]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 median.x.example.com ESMTP Postfix
    ehlo localhost
    250-median.x.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250 8BITMIME
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. What's in /etc/postfix/main.cf?
     
  5. Median

    Median New Member

    Do you want the whole file? Its quite large.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Leave out the lines beginning with #.
     
  7. Median

    Median New Member

    Code:
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    
    mail_owner = postfix
    
    inet_interfaces = all
    #inet_interfaces = $myhostname
    #inet_interfaces = $myhostname, localhost
    #proxy_interfaces =
    #proxy_interfaces = 1.2.3.4
    #mydestination = $myhostname, localhost.$mydomain, localhost
    #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    #	mail.$mydomain, www.$mydomain, ftp.$mydomain
    
    #local_recipient_maps = unix:passwd.byname $alias_maps
    #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
    #local_recipient_maps =
    unknown_local_recipient_reject_code = 550
    
    #mynetworks_style = class
    #mynetworks_style = subnet
    #mynetworks_style = host
    
    #mynetworks = 168.100.189.0/28, 127.0.0.0/8
    #mynetworks = $config_directory/mynetworks
    #mynetworks = hash:/etc/postfix/network_table
    
    #relay_domains = $mydestination
    
    #relayhost = $mydomain
    #relayhost = [gateway.my.domain]
    #relayhost = [mailserver.isp.tld]
    #relayhost = uucphost
    #relayhost = [an.ip.add.ress]
    
    #relay_recipient_maps = hash:/etc/postfix/relay_recipients
    
    # INPUT RATE CONTROL
    #in_flow_delay = 1s
    
    #alias_maps = dbm:/etc/aliases
    #alias_maps = hash:/etc/aliases
    #alias_maps = hash:/etc/aliases, nis:mail.aliases
    #alias_maps = netinfo:/aliases
    
    #alias_database = dbm:/etc/aliases
    #alias_database = dbm:/etc/mail/aliases
    #alias_database = hash:/etc/aliases
    #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
    
    #recipient_delimiter = +
    
    #home_mailbox = Mailbox
    #home_mailbox = Maildir/
    
    #mail_spool_directory = /var/mail
    #mail_spool_directory = /var/spool/mail
    
    #mailbox_command = /some/where/procmail
    #mailbox_command = /some/where/procmail -a "$EXTENSION"
    
    #mailbox_transport = lmtp:unix:/file/name
    #mailbox_transport = cyrus
    
    #fallback_transport = lmtp:unix:/file/name
    #fallback_transport = cyrus
    #fallback_transport =
    
    #luser_relay = [email protected]
    #luser_relay = [email protected]
    #luser_relay = admin+$local
    
    #header_checks = regexp:/etc/postfix/header_checks
    
    #fast_flush_domains = $relay_domains
    
    #smtpd_banner = $myhostname ESMTP $mail_name
    #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
    
    #local_destination_concurrency_limit = 2
    #default_destination_concurrency_limit = 20
    
    debug_peer_level = 2
    
    #debug_peer_list = 127.0.0.1
    #debug_peer_list = some.domain
    
    debugger_command =
    	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    	 xxgdb $daemon_directory/$process_name $process_id & sleep 5
    
    sendmail_path = /usr/sbin/sendmail.postfix
    
    newaliases_path = /usr/bin/newaliases.postfix
    
    mailq_path = /usr/bin/mailq.postfix
    
    setgid_group = postdrop
    
    html_directory = /usr/share/doc/postfix-2.2.3-documentation/html
    
    manpage_directory = /usr/share/man
    
    sample_directory = /etc/postfix
    
    readme_directory = /usr/share/doc/postfix-2.2.3-documentation/readme
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/postfix/aliases
    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
    inet_interfaces = all
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = 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
    smtp_tls_note_starttls_offer = yes
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Looks ok so far. Please restart Postfix and try this
    Code:
    telnet localhost 25
    thing again.
     
  9. Median

    Median New Member

    Code:
    [root@median root]# postfix stop
    postfix/postfix-script: stopping the Postfix mail system
    [root@median root]# postfix start
    postfix/postfix-script: starting the Postfix mail system
    [root@median root]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 median.x.example.com ESMTP Postfix
    ehlo localhost
    250-median.x.example.com 
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250 8BITMIME
    
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    updatedb
    locate smtpd.conf
    and post the output.
     
  11. Median

    Median New Member

    >>>>>

    Code:
    [root@median root]# updatedb
    [root@median root]# locate smtpd.conf
    /usr/lib/sasl2/smtpd.conf
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Hm... and what's the output of
    Code:
    locate sasl
    ?
     
  13. Median

    Median New Member

    Code:
    locate sasl
    /var/lock/subsys/saslauthd
    /var/run/saslauthd
    /var/run/saslauthd/mux.accept
    /var/run/saslauthd/saslauthd.pid
    /var/run/saslauthd/mux
    /var/run/saslauthd
    /usr/sbin/sasldblistusers
    /usr/sbin/saslauthd
    /usr/sbin/sasldblistusers2
    /usr/sbin/saslpasswd
    /usr/sbin/saslpasswd2
    /usr/sbin/testsaslauthd
    /usr/sbin/sasl2-shared-mechlist
    /usr/sbin/sasl2-static-mechlist
    /usr/sbin/saslauthd1-checkpass
    /usr/share/doc/cyrus-sasl-2.1.18
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/gssapi.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/AUTHORS
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/COPYING
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/NEWS
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/README
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/programming.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/index.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/macosx.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/sysadmin.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28
    /usr/share/doc/cyrus-sasl-2.1.18/README.RPM
    /usr/share/doc/cyrus-sasl-2.1.18/AUTHORS
    /usr/share/doc/cyrus-sasl-2.1.18/COPYING
    /usr/share/doc/cyrus-sasl-2.1.18/NEWS
    /usr/share/doc/cyrus-sasl-2.1.18/README
    /usr/share/doc/cyrus-sasl-2.1.18/programming.html
    /usr/share/doc/cyrus-sasl-2.1.18/advanced.html
    /usr/share/doc/cyrus-sasl-2.1.18/appconvert.html
    /usr/share/doc/cyrus-sasl-2.1.18/components.html
    /usr/share/doc/cyrus-sasl-2.1.18/gssapi.html
    /usr/share/doc/cyrus-sasl-2.1.18/index.html
    /usr/share/doc/cyrus-sasl-2.1.18/install.html
    /usr/share/doc/cyrus-sasl-2.1.18/macosx.html
    /usr/share/doc/cyrus-sasl-2.1.18/mechanisms.html
    /usr/share/doc/cyrus-sasl-2.1.18/options.html
    /usr/share/doc/cyrus-sasl-2.1.18/plugprog.html
    /usr/share/doc/cyrus-sasl-2.1.18/sysadmin.html
    /usr/share/doc/cyrus-sasl-2.1.18/readme.html
    /usr/share/doc/cyrus-sasl-2.1.18/upgrading.html
    /usr/share/doc/cyrus-sasl-2.1.18/windows.html
    /usr/share/doc/cyrus-sasl-2.1.18
    /usr/share/doc/cyrus-sasl-devel-2.1.18
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel/rfc2095.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel/draft-newman-auth-scram-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc1321.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-burdis-cat-srp-sasl-08.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-anon-02.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-crammd5-01.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-gssapi-00.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-plain-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-rfc2222bis-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-rfc2831bis-02.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-saslprep-04.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-murchison-sasl-login-00.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-newman-sasl-c-api-01.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc1939.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2104.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2195.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2222.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2243.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2245.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2289.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2444.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2595.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2831.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2945.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc3174.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/testing.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18
    /usr/share/man/man3/sasl_auxprop.3.gz
    /usr/share/man/man3/sasl.3.gz
    /usr/share/man/man3/sasl_auxprop_getctx.3.gz
    /usr/share/man/man3/sasl_authorize_t.3.gz
    /usr/share/man/man3/sasl_server_userdb_checkpass_t.3.gz
    /usr/share/man/man3/sasl_auxprop_request.3.gz
    /usr/share/man/man3/sasl_callbacks.3.gz
    /usr/share/man/man3/sasl_canon_user_t.3.gz
    /usr/share/man/man3/sasl_chalprompt_t.3.gz
    /usr/share/man/man3/sasl_checkapop.3.gz
    /usr/share/man/man3/sasl_checkpass.3.gz
    /usr/share/man/man3/sasl_client_init.3.gz
    /usr/share/man/man3/sasl_client_new.3.gz
    /usr/share/man/man3/sasl_client_start.3.gz
    /usr/share/man/man3/sasl_client_step.3.gz
    /usr/share/man/man3/sasl_decode.3.gz
    /usr/share/man/man3/sasl_dispose.3.gz
    /usr/share/man/man3/sasl_done.3.gz
    /usr/share/man/man3/sasl_encode.3.gz
    /usr/share/man/man3/sasl_encodev.3.gz
    /usr/share/man/man3/sasl_errdetail.3.gz
    /usr/share/man/man3/sasl_errors.3.gz
    /usr/share/man/man3/sasl_errstring.3.gz
    /usr/share/man/man3/sasl_getopt_t.3.gz
    /usr/share/man/man3/sasl_getpath_t.3.gz
    /usr/share/man/man3/sasl_getprop.3.gz
    /usr/share/man/man3/sasl_getrealm_t.3.gz
    /usr/share/man/man3/sasl_getsecret_t.3.gz
    /usr/share/man/man3/sasl_getsimple_t.3.gz
    /usr/share/man/man3/sasl_global_listmech.3.gz
    /usr/share/man/man3/sasl_idle.3.gz
    /usr/share/man/man3/sasl_listmech.3.gz
    /usr/share/man/man3/sasl_log_t.3.gz
    /usr/share/man/man3/sasl_server_init.3.gz
    /usr/share/man/man3/sasl_server_new.3.gz
    /usr/share/man/man3/sasl_server_start.3.gz
    /usr/share/man/man3/sasl_server_step.3.gz
    /usr/share/man/man3/sasl_server_userdb_setpass_t.3.gz
    /usr/share/man/man3/sasl_setpass.3.gz
    /usr/share/man/man3/sasl_setprop.3.gz
    /usr/share/man/man3/sasl_user_exists.3.gz
    /usr/share/man/man3/sasl_usererr.3.gz
    /usr/share/man/man3/sasl_verifyfile_t.3.gz
    /usr/share/man/man3/ldap_parse_sasl_bind_result.3.gz
    /usr/share/man/man3/ldap_sasl_bind.3.gz
    /usr/share/man/man3/ldap_sasl_bind_s.3.gz
    /usr/share/man/man8/sasldblistusers.8.gz
    /usr/share/man/man8/saslauthd.8.gz
    /usr/share/man/man8/sasldblistusers2.8.gz
    /usr/share/man/man8/saslpasswd.8.gz
    /usr/share/man/man8/saslpasswd2.8.gz
    /usr/bin/sasl-sample-client
    /usr/bin/sasl-sample-server
    /usr/bin/sasl2-sample-client
    /usr/bin/sasl2-sample-server
    /usr/include/sasl
    /usr/include/sasl/hmac-md5.h
    /usr/include/sasl/md5.h
    /usr/include/sasl/md5global.h
    /usr/include/sasl/prop.h
    /usr/include/sasl/sasl.h
    /usr/include/sasl/saslplug.h
    /usr/include/sasl/saslutil.h
    /usr/include/sasl
    /usr/include/sasl.h
    /usr/include/saslplug.h
    /usr/include/saslutil.h
    /usr/lib/sasl
    /usr/lib/sasl/libanonymous.so.1
    /usr/lib/sasl/libanonymous.la
    /usr/lib/sasl/libanonymous.so
    /usr/lib/sasl/libanonymous.so.1.0.17
    /usr/lib/sasl/libcrammd5.la
    /usr/lib/sasl/libcrammd5.so
    /usr/lib/sasl/libcrammd5.so.1
    /usr/lib/sasl/libcrammd5.so.1.0.19
    /usr/lib/sasl/libdigestmd5.la
    /usr/lib/sasl/libdigestmd5.so
    /usr/lib/sasl/libdigestmd5.so.0
    /usr/lib/sasl/libdigestmd5.so.0.0.20
    /usr/lib/sasl/liblogin.la
    /usr/lib/sasl/liblogin.so
    /usr/lib/sasl/liblogin.so.0
    /usr/lib/sasl/liblogin.so.0.0.7
    /usr/lib/sasl/libplain.la
    /usr/lib/sasl/libplain.so
    /usr/lib/sasl/libplain.so.1
    /usr/lib/sasl/libplain.so.1.0.16
    /usr/lib/sasl/libgssapiv2.la
    /usr/lib/sasl/libgssapiv2.so
    /usr/lib/sasl/libgssapiv2.so.1
    /usr/lib/sasl/libgssapiv2.so.1.0.19
    /usr/lib/sasl/libanonymous.a
    /usr/lib/sasl/libcrammd5.a
    /usr/lib/sasl/libdigestmd5.a
    /usr/lib/sasl/libgssapiv2.a
    /usr/lib/sasl/liblogin.a
    /usr/lib/sasl/libplain.a
    /usr/lib/sasl
    /usr/lib/libsasl.so.7.1.11
    /usr/lib/libsasl.so.7
    /usr/lib/libsasl2.so.2.0.18
    /usr/lib/libsasl2.so.2
    /usr/lib/sasl2
    /usr/lib/sasl2/libanonymous.so.2
    /usr/lib/sasl2/libanonymous.la
    /usr/lib/sasl2/libanonymous.so
    /usr/lib/sasl2/libanonymous.so.2.0.18
    /usr/lib/sasl2/libsasldb.la
    /usr/lib/sasl2/libsasldb.so
    /usr/lib/sasl2/libsasldb.so.2
    /usr/lib/sasl2/libsasldb.so.2.0.18
    /usr/lib/sasl2/Sendmail.conf
    /usr/lib/sasl2/libcrammd5.la
    /usr/lib/sasl2/libcrammd5.so
    /usr/lib/sasl2/libcrammd5.so.2
    /usr/lib/sasl2/libcrammd5.so.2.0.18
    /usr/lib/sasl2/libdigestmd5.la
    /usr/lib/sasl2/libdigestmd5.so
    /usr/lib/sasl2/libdigestmd5.so.2
    /usr/lib/sasl2/libdigestmd5.so.2.0.18
    /usr/lib/sasl2/liblogin.la
    /usr/lib/sasl2/liblogin.so
    /usr/lib/sasl2/liblogin.so.2
    /usr/lib/sasl2/liblogin.so.2.0.18
    /usr/lib/sasl2/libplain.la
    /usr/lib/sasl2/libplain.so
    /usr/lib/sasl2/libplain.so.2
    /usr/lib/sasl2/libplain.so.2.0.18
    /usr/lib/sasl2/libgssapiv2.la
    /usr/lib/sasl2/libgssapiv2.so
    /usr/lib/sasl2/libgssapiv2.so.2
    /usr/lib/sasl2/libgssapiv2.so.2.0.18
    /usr/lib/sasl2/smtpd.conf
    /usr/lib/sasl2
    /usr/lib/libsasl.a
    /usr/lib/libsasl.la
    /usr/lib/libsasl.so
    /usr/lib/libsasl2.a
    /usr/lib/libsasl2.la
    /usr/lib/libsasl2.so
    /etc/sysconfig/saslauthd
    /etc/sysconfig/saslauthd_pre_mech
    /etc/rc.d/init.d/saslauthd
    /etc/rc.d/rc0.d/K05saslauthd
    /etc/rc.d/rc1.d/K05saslauthd
    /etc/rc.d/rc2.d/S95saslauthd
    /etc/rc.d/rc3.d/S95saslauthd
    /etc/rc.d/rc4.d/K05saslauthd
    /etc/rc.d/rc5.d/S95saslauthd
    /etc/rc.d/rc6.d/K05saslauthd
    [root@median root]# locate sasl
    /var/lock/subsys/saslauthd
    /var/run/saslauthd
    /var/run/saslauthd/mux.accept
    /var/run/saslauthd/saslauthd.pid
    /var/run/saslauthd/mux
    /var/run/saslauthd
    
    continues...
     
  14. Median

    Median New Member

    continued...

    Code:
    /usr/sbin/sasldblistusers
    /usr/sbin/saslauthd
    /usr/sbin/sasldblistusers2
    /usr/sbin/saslpasswd
    /usr/sbin/saslpasswd2
    /usr/sbin/testsaslauthd
    /usr/sbin/sasl2-shared-mechlist
    /usr/sbin/sasl2-static-mechlist
    /usr/sbin/saslauthd1-checkpass
    /usr/share/doc/cyrus-sasl-2.1.18
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/gssapi.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/AUTHORS
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/COPYING
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/NEWS
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/README
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/programming.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/index.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/macosx.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28/sysadmin.html
    /usr/share/doc/cyrus-sasl-2.1.18/1.5.28
    /usr/share/doc/cyrus-sasl-2.1.18/README.RPM
    /usr/share/doc/cyrus-sasl-2.1.18/AUTHORS
    /usr/share/doc/cyrus-sasl-2.1.18/COPYING
    /usr/share/doc/cyrus-sasl-2.1.18/NEWS
    /usr/share/doc/cyrus-sasl-2.1.18/README
    /usr/share/doc/cyrus-sasl-2.1.18/programming.html
    /usr/share/doc/cyrus-sasl-2.1.18/advanced.html
    /usr/share/doc/cyrus-sasl-2.1.18/appconvert.html
    /usr/share/doc/cyrus-sasl-2.1.18/components.html
    /usr/share/doc/cyrus-sasl-2.1.18/gssapi.html
    /usr/share/doc/cyrus-sasl-2.1.18/index.html
    /usr/share/doc/cyrus-sasl-2.1.18/install.html
    /usr/share/doc/cyrus-sasl-2.1.18/macosx.html
    /usr/share/doc/cyrus-sasl-2.1.18/mechanisms.html
    /usr/share/doc/cyrus-sasl-2.1.18/options.html
    /usr/share/doc/cyrus-sasl-2.1.18/plugprog.html
    /usr/share/doc/cyrus-sasl-2.1.18/sysadmin.html
    /usr/share/doc/cyrus-sasl-2.1.18/readme.html
    /usr/share/doc/cyrus-sasl-2.1.18/upgrading.html
    /usr/share/doc/cyrus-sasl-2.1.18/windows.html
    /usr/share/doc/cyrus-sasl-2.1.18
    /usr/share/doc/cyrus-sasl-devel-2.1.18
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel/rfc2095.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel/draft-newman-auth-scram-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/1.5.28-devel
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc1321.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-burdis-cat-srp-sasl-08.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-anon-02.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-crammd5-01.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-gssapi-00.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-plain-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-rfc2222bis-03.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-rfc2831bis-02.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-ietf-sasl-saslprep-04.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-murchison-sasl-login-00.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/draft-newman-sasl-c-api-01.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc1939.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2104.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2195.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2222.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2243.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2245.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2289.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2444.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2595.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2831.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc2945.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/rfc3174.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18/testing.txt
    /usr/share/doc/cyrus-sasl-devel-2.1.18
    /usr/share/man/man3/sasl_auxprop.3.gz
    /usr/share/man/man3/sasl.3.gz
    /usr/share/man/man3/sasl_auxprop_getctx.3.gz
    /usr/share/man/man3/sasl_authorize_t.3.gz
    /usr/share/man/man3/sasl_server_userdb_checkpass_t.3.gz
    /usr/share/man/man3/sasl_auxprop_request.3.gz
    /usr/share/man/man3/sasl_callbacks.3.gz
    /usr/share/man/man3/sasl_canon_user_t.3.gz
    /usr/share/man/man3/sasl_chalprompt_t.3.gz
    /usr/share/man/man3/sasl_checkapop.3.gz
    /usr/share/man/man3/sasl_checkpass.3.gz
    /usr/share/man/man3/sasl_client_init.3.gz
    /usr/share/man/man3/sasl_client_new.3.gz
    /usr/share/man/man3/sasl_client_start.3.gz
    /usr/share/man/man3/sasl_client_step.3.gz
    /usr/share/man/man3/sasl_decode.3.gz
    /usr/share/man/man3/sasl_dispose.3.gz
    /usr/share/man/man3/sasl_done.3.gz
    /usr/share/man/man3/sasl_encode.3.gz
    /usr/share/man/man3/sasl_encodev.3.gz
    /usr/share/man/man3/sasl_errdetail.3.gz
    /usr/share/man/man3/sasl_errors.3.gz
    /usr/share/man/man3/sasl_errstring.3.gz
    /usr/share/man/man3/sasl_getopt_t.3.gz
    /usr/share/man/man3/sasl_getpath_t.3.gz
    /usr/share/man/man3/sasl_getprop.3.gz
    /usr/share/man/man3/sasl_getrealm_t.3.gz
    /usr/share/man/man3/sasl_getsecret_t.3.gz
    /usr/share/man/man3/sasl_getsimple_t.3.gz
    /usr/share/man/man3/sasl_global_listmech.3.gz
    /usr/share/man/man3/sasl_idle.3.gz
    /usr/share/man/man3/sasl_listmech.3.gz
    /usr/share/man/man3/sasl_log_t.3.gz
    /usr/share/man/man3/sasl_server_init.3.gz
    /usr/share/man/man3/sasl_server_new.3.gz
    /usr/share/man/man3/sasl_server_start.3.gz
    /usr/share/man/man3/sasl_server_step.3.gz
    /usr/share/man/man3/sasl_server_userdb_setpass_t.3.gz
    /usr/share/man/man3/sasl_setpass.3.gz
    /usr/share/man/man3/sasl_setprop.3.gz
    /usr/share/man/man3/sasl_user_exists.3.gz
    /usr/share/man/man3/sasl_usererr.3.gz
    /usr/share/man/man3/sasl_verifyfile_t.3.gz
    /usr/share/man/man3/ldap_parse_sasl_bind_result.3.gz
    /usr/share/man/man3/ldap_sasl_bind.3.gz
    /usr/share/man/man3/ldap_sasl_bind_s.3.gz
    /usr/share/man/man8/sasldblistusers.8.gz
    /usr/share/man/man8/saslauthd.8.gz
    /usr/share/man/man8/sasldblistusers2.8.gz
    /usr/share/man/man8/saslpasswd.8.gz
    /usr/share/man/man8/saslpasswd2.8.gz
    /usr/bin/sasl-sample-client
    /usr/bin/sasl-sample-server
    /usr/bin/sasl2-sample-client
    /usr/bin/sasl2-sample-server
    /usr/include/sasl
    /usr/include/sasl/hmac-md5.h
    /usr/include/sasl/md5.h
    /usr/include/sasl/md5global.h
    /usr/include/sasl/prop.h
    /usr/include/sasl/sasl.h
    /usr/include/sasl/saslplug.h
    /usr/include/sasl/saslutil.h
    /usr/include/sasl
    /usr/include/sasl.h
    /usr/include/saslplug.h
    /usr/include/saslutil.h
    /usr/lib/sasl
    /usr/lib/sasl/libanonymous.so.1
    /usr/lib/sasl/libanonymous.la
    /usr/lib/sasl/libanonymous.so
    /usr/lib/sasl/libanonymous.so.1.0.17
    /usr/lib/sasl/libcrammd5.la
    /usr/lib/sasl/libcrammd5.so
    /usr/lib/sasl/libcrammd5.so.1
    /usr/lib/sasl/libcrammd5.so.1.0.19
    /usr/lib/sasl/libdigestmd5.la
    /usr/lib/sasl/libdigestmd5.so
    /usr/lib/sasl/libdigestmd5.so.0
    /usr/lib/sasl/libdigestmd5.so.0.0.20
    /usr/lib/sasl/liblogin.la
    /usr/lib/sasl/liblogin.so
    /usr/lib/sasl/liblogin.so.0
    /usr/lib/sasl/liblogin.so.0.0.7
    /usr/lib/sasl/libplain.la
    /usr/lib/sasl/libplain.so
    /usr/lib/sasl/libplain.so.1
    /usr/lib/sasl/libplain.so.1.0.16
    /usr/lib/sasl/libgssapiv2.la
    /usr/lib/sasl/libgssapiv2.so
    /usr/lib/sasl/libgssapiv2.so.1
    /usr/lib/sasl/libgssapiv2.so.1.0.19
    /usr/lib/sasl/libanonymous.a
    /usr/lib/sasl/libcrammd5.a
    /usr/lib/sasl/libdigestmd5.a
    /usr/lib/sasl/libgssapiv2.a
    /usr/lib/sasl/liblogin.a
    /usr/lib/sasl/libplain.a
    /usr/lib/sasl
    /usr/lib/libsasl.so.7.1.11
    /usr/lib/libsasl.so.7
    /usr/lib/libsasl2.so.2.0.18
    /usr/lib/libsasl2.so.2
    /usr/lib/sasl2
    /usr/lib/sasl2/libanonymous.so.2
    /usr/lib/sasl2/libanonymous.la
    /usr/lib/sasl2/libanonymous.so
    /usr/lib/sasl2/libanonymous.so.2.0.18
    /usr/lib/sasl2/libsasldb.la
    /usr/lib/sasl2/libsasldb.so
    /usr/lib/sasl2/libsasldb.so.2
    /usr/lib/sasl2/libsasldb.so.2.0.18
    /usr/lib/sasl2/Sendmail.conf
    /usr/lib/sasl2/libcrammd5.la
    /usr/lib/sasl2/libcrammd5.so
    /usr/lib/sasl2/libcrammd5.so.2
    /usr/lib/sasl2/libcrammd5.so.2.0.18
    /usr/lib/sasl2/libdigestmd5.la
    /usr/lib/sasl2/libdigestmd5.so
    /usr/lib/sasl2/libdigestmd5.so.2
    /usr/lib/sasl2/libdigestmd5.so.2.0.18
    /usr/lib/sasl2/liblogin.la
    /usr/lib/sasl2/liblogin.so
    /usr/lib/sasl2/liblogin.so.2
    /usr/lib/sasl2/liblogin.so.2.0.18
    /usr/lib/sasl2/libplain.la
    /usr/lib/sasl2/libplain.so
    /usr/lib/sasl2/libplain.so.2
    /usr/lib/sasl2/libplain.so.2.0.18
    /usr/lib/sasl2/libgssapiv2.la
    /usr/lib/sasl2/libgssapiv2.so
    /usr/lib/sasl2/libgssapiv2.so.2
    /usr/lib/sasl2/libgssapiv2.so.2.0.18
    /usr/lib/sasl2/smtpd.conf
    /usr/lib/sasl2
    /usr/lib/libsasl.a
    /usr/lib/libsasl.la
    /usr/lib/libsasl.so
    /usr/lib/libsasl2.a
    /usr/lib/libsasl2.la
    /usr/lib/libsasl2.so
    /etc/sysconfig/saslauthd
    /etc/sysconfig/saslauthd_pre_mech
    /etc/rc.d/init.d/saslauthd
    /etc/rc.d/rc0.d/K05saslauthd
    /etc/rc.d/rc1.d/K05saslauthd
    /etc/rc.d/rc2.d/S95saslauthd
    /etc/rc.d/rc3.d/S95saslauthd
    /etc/rc.d/rc4.d/K05saslauthd
    /etc/rc.d/rc5.d/S95saslauthd
    /etc/rc.d/rc6.d/K05saslauthd

    >>>>> end
     
  15. falko

    falko Super Moderator Howtoforge Staff

    You seem to have sasl and sasl2 installed at the same time. Can you run this:

    Code:
    mv /usr/lib/sasl /usr/lib/sasl_orig
    ln -s /usr/lib/sasl2 /usr/lib/sasl
    and then restart Postfix and try this telnet thing again?
     
  16. Median

    Median New Member

    Ok Falko - did that - results were:
    Code:
    [root@median root]# mv /usr/lib/sasl /usr/lib/sasl_orig
    mv: overwrite `/usr/lib/sasl_orig/sasl'? y
    [root@median root]# ln -s /usr/lib/sasl2 /usr/lib/sasl
    [root@median root]# postfix stop
    postfix/postfix-script: stopping the Postfix mail system
    [root@median root]# postfix start
    postfix/postfix-script: starting the Postfix mail system
    [root@median root]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 median.x.example.com ESMTP Postfix
    ehlo localhost
    250-median.x.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250 8BITMIME
     
  17. Median

    Median New Member

    Ok. Did
    Code:
    shutdown -r now
    and checked the logs.

    /var/log/messages shows this:
    Code:
    Jan 28 11:37:10 median shutdown: shutting down for system reboot
    Jan 28 11:37:13 median init: Switching to runlevel: 6
    Jan 28 11:37:14 median saslauthd[16949]: server_exit     : master exited: 16949
    Jan 28 11:37:14 median saslauthd: saslauthd shutdown succeeded
    Jan 28 11:37:14 median sshd: sshd -TERM succeeded
    Jan 28 11:37:14 median postfix: Shutting down postfix: 
    Jan 28 11:37:14 median postfix:  succeeded
    Jan 28 11:37:14 median postfix: 
    Jan 28 11:37:14 median rc: Stopping postfix:  succeeded
    Jan 28 11:37:14 median mysqld: Stopping MySQL:  succeeded
    Jan 28 11:37:14 median sshd(pam_unix)[23103]: session closed for user root
    Jan 28 11:37:14 median xinetd[23805]: Exiting...
    Jan 28 11:37:14 median xinetd: xinetd shutdown succeeded
    Jan 28 11:37:14 median crond: crond shutdown succeeded
    Jan 28 11:37:15 median network: Shutting down interface venet0:  succeeded
    Jan 28 11:37:15 median network: Shutting down loopback interface:  succeeded
    Jan 28 11:37:15 median rc: Starting killall:  succeeded
    Jan 28 11:37:15 median rc: Starting vzreboot:  succeeded
    Jan 28 11:37:15 median exiting on signal 15
    Jan 28 11:37:33 median syslogd 1.4.1: restart.
    Jan 28 11:37:33 median syslog: syslogd startup succeeded
    Jan 28 11:37:33 median syslog: klogd succeeded
    Jan 28 11:37:33 median sshd:  succeeded
    Jan 28 11:37:33 median xinetd: xinetd startup succeeded
    Jan 28 11:37:33 median xinetd[26475]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
    Jan 28 11:37:33 median xinetd[26475]: Started working: 2 available services
    Jan 28 11:37:35 median mysqld: Starting MySQL:  succeeded
    Jan 28 11:37:35 median dovecot: Fatal: listen(110) failed: Address already in use
    Jan 28 11:37:35 median dovecot: dovecot startup failed
    Jan 28 11:37:24 median sysctl: net.ipv4.ip_forward = 0 
    Jan 28 11:37:24 median sysctl: net.ipv4.conf.default.rp_filter = 1 
    Jan 28 11:37:24 median rc.sysinit: Configuring kernel parameters:  succeeded 
    Jan 28 11:37:24 median date: Sat Jan 28 11:37:24 GMT 2006 
    Jan 28 11:37:24 median rc.sysinit: Setting clock : Sat Jan 28 11:37:24 GMT 2006 succeeded 
    Jan 28 11:37:24 median rc.sysinit: Setting hostname median.v.servelocity.net:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Activating swap partitions:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Mounting local filesystems:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Enabling local filesystem quotas:  succeeded 
    Jan 28 11:37:30 median rc.sysinit: Enabling swap space:  succeeded 
    Jan 28 11:37:32 median init: Entering runlevel: 3 
    Jan 28 11:37:32 median iptables:  succeeded 
    Jan 28 11:37:32 median iptables:  succeeded 
    Jan 28 11:37:32 median sysctl: net.ipv4.ip_forward = 0 
    Jan 28 11:37:32 median sysctl: net.ipv4.conf.default.rp_filter = 1 
    Jan 28 11:37:32 median network: Setting network parameters:  succeeded 
    Jan 28 11:37:33 median network: Bringing up loopback interface:  succeeded 
    Jan 28 11:37:33 median ifup: SIOCADDRT: Network is unreachable 
    Jan 28 11:37:33 median network: Bringing up interface venet0:  succeeded 
    Jan 28 11:37:33 median rc: Starting vzquota:  succeeded 
    Jan 28 11:37:36 median postfix:  succeeded
    Jan 28 11:37:37 median httpd: httpd startup failed
    Jan 28 11:37:37 median crond: crond startup succeeded
    Jan 28 11:37:38 median saslauthd[26741]: detach_tty      : master pid is: 26741
    Jan 28 11:37:38 median saslauthd[26741]: ipc_init        : listening on socket: /var/run/saslauthd/mux
    Jan 28 11:37:38 median saslauthd: saslauthd startup succeeded
    Jan 28 11:37:38 median init: no more processes left in this runlevel
    Jan 28 11:38:10 median sshd(pam_unix)[26838]: session opened for user root by (uid=0)
    
    /var/log/mailog shows this:
    Code:
    Jan 28 11:37:14 median postfix/postfix-script: stopping the Postfix mail system
    Jan 28 11:37:14 median postfix/master[24073]: terminating on signal 15
    Jan 28 11:37:36 median postfix/postfix-script: starting the Postfix mail system
    Jan 28 11:37:36 median postfix/master[26710]: daemon started -- version 2.2.3, configuration /etc/postfix
    Jan 28 11:40:35 median postfix/smtpd[27292]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
    
    /var/log/boot.log shows:
    Code:
    Jan 28 11:32:09 median saslauthd: saslauthd[23731] :detach_tty      : Cannot start saslauthd
    Jan 28 11:32:09 median saslauthd: saslauthd[23731] :detach_tty      : Another instance of saslauthd is currently running
    Jan 28 11:32:09 median saslauthd: saslauthd startup failed
    Jan 28 11:32:34 median xinetd: xinetd shutdown succeeded
    Jan 28 11:32:35 median xinetd: xinetd startup succeeded
    Jan 28 11:37:14 median saslauthd: saslauthd shutdown succeeded
    Jan 28 11:37:14 median sshd: sshd -TERM succeeded
    Jan 28 11:37:14 median postfix: Shutting down postfix: 
    Jan 28 11:37:14 median postfix:  succeeded
    Jan 28 11:37:14 median postfix: 
    Jan 28 11:37:14 median rc: Stopping postfix:  succeeded
    Jan 28 11:37:14 median mysqld: Stopping MySQL:  succeeded
    Jan 28 11:37:14 median xinetd: xinetd shutdown succeeded
    Jan 28 11:37:14 median crond: crond shutdown succeeded
    Jan 28 11:37:15 median network: Shutting down interface venet0:  succeeded
    Jan 28 11:37:15 median network: Shutting down loopback interface:  succeeded
    Jan 28 11:37:15 median rc: Starting killall:  succeeded
    Jan 28 11:37:15 median rc: Starting vzreboot:  succeeded
    Jan 28 11:37:33 median syslog: syslogd startup succeeded
    Jan 28 11:37:33 median syslog: klogd succeeded
    Jan 28 11:37:33 median sshd:  succeeded
    Jan 28 11:37:33 median xinetd: xinetd startup succeeded
    Jan 28 11:37:35 median mysqld: Starting MySQL:  succeeded
    Jan 28 11:37:35 median dovecot: Fatal: listen(110) failed: Address already in use
    Jan 28 11:37:35 median dovecot: dovecot startup failed
    Jan 28 11:37:24 median sysctl: net.ipv4.ip_forward = 0 
    Jan 28 11:37:24 median sysctl: net.ipv4.conf.default.rp_filter = 1 
    Jan 28 11:37:24 median rc.sysinit: Configuring kernel parameters:  succeeded 
    Jan 28 11:37:24 median date: Sat Jan 28 11:37:24 GMT 2006 
    Jan 28 11:37:24 median rc.sysinit: Setting clock : Sat Jan 28 11:37:24 GMT 2006 succeeded 
    Jan 28 11:37:24 median rc.sysinit: Setting hostname median.x.example.com:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Activating swap partitions:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Mounting local filesystems:  succeeded 
    Jan 28 11:37:29 median rc.sysinit: Enabling local filesystem quotas:  succeeded 
    Jan 28 11:37:30 median rc.sysinit: Enabling swap space:  succeeded 
    Jan 28 11:37:32 median iptables:  succeeded 
    Jan 28 11:37:32 median iptables:  succeeded 
    Jan 28 11:37:32 median sysctl: net.ipv4.ip_forward = 0 
    Jan 28 11:37:32 median sysctl: net.ipv4.conf.default.rp_filter = 1 
    Jan 28 11:37:32 median network: Setting network parameters:  succeeded 
    Jan 28 11:37:33 median network: Bringing up loopback interface:  succeeded 
    Jan 28 11:37:33 median ifup: SIOCADDRT: Network is unreachable 
    Jan 28 11:37:33 median network: Bringing up interface venet0:  succeeded 
    Jan 28 11:37:33 median rc: Starting vzquota:  succeeded 
    Jan 28 11:37:36 median postfix:  succeeded
    Jan 28 11:37:37 median httpd: httpd startup failed
    Jan 28 11:37:37 median crond: crond startup succeeded
    Jan 28 11:37:38 median saslauthd: saslauthd startup succeeded
    
    Telnet and ehlo shows:
    Code:
    [root@median root]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 median.x.example.com ESMTP Postfix
    ehlo localhost
    250-median.x.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250 8BITMIME
    quit
    221 Bye
    Connection closed by foreign host.
    Hope this helps.
     
    Last edited: Jan 28, 2006
  18. falko

    falko Super Moderator Howtoforge Staff

    That's the explanation why it doesn't work for you. You don't seem to have the correct Postfix package installed.
    What exactly did you do to install Postfix and saslauthd?
     
  19. Median

    Median New Member

    Code:
    apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix dovecot
    When I ran this it told me I already had latest version of cyrus*

    How can I get rid of this problem please Falko?

    The server is a vps. Would I need to get my hosting company to do a rebuild? Hoping i don't need to as they are very slow at doing things.
     
    Last edited: Jan 28, 2006
  20. Median

    Median New Member

    Ok. Just come across /etc/postfix/postfix.spec.sf which is as follows:

    Code:
    #
    # This file contains the following information:
    #
    # - configuration options used to build the installed postfix rpm
    #   - generated when the binary rpm was built
    #
    # - Postfix RPM build instructions
    #   - for upgrading the installed rpm with the same options
    #   - for building the rpm with other options
    #
    # 1. CONFIGURATION OPTIONS OF INSTALLED BINARY RPM
    #
    # Package built on: fedora-release-2-4 (fedora-2.0)
    
    POSTFIX_ALT_PRIO=30
    POSTFIX_CDB=0
    POSTFIX_DB=4
    POSTFIX_IPV6=0
    POSTFIX_LDAP=0
    POSTFIX_MYSQL=0
    POSTFIX_MYSQL_PATHS=0
    POSTFIX_MYSQL_REDHAT=0
    POSTFIX_PCRE=0
    POSTFIX_PGSQL=0
    [COLOR="Red"]POSTFIX_SASL=0[/COLOR]
    POSTFIX_SMTPD_MULTILINE_GREETING=1
    POSTFIX_SPF=0
    POSTFIX_TLS=1
    POSTFIX_VDA=0
    
    # export values to child processes
    export POSTFIX_MYSQL POSTFIX_MYSQL_PATHS POSTFIX_MYSQL_REDHAT  POSTFIX_LDAP POSTFIX_PCRE POSTFIX_PGSQL  POSTFIX_SASL POSTFIX_SPF POSTFIX_TLS POSTFIX_IPV6 POSTFIX_VDA  POSTFIX_SMTPD_MULTILINE_GREETING POSTFIX_DB POSTFIX_INCLUDE_DB  POSTFIX_CDB POSTFIX_ALT_PRIO
    
    # other options used in the build (but not explicitly changeable by the user) are:
    # - debug=0
    # - pcre_requires=pcre,
    # - requires_zlib=0,
    [COLOR="red"]# - sasl_library=cyrus-sasl-devel[/COLOR]
    # - tlsfix=0
    #
    # /etc/postfix/makedefs.out is also produced by the build and may be of
    # interest if you are building Postfix by hand.
    
    The file date is back in June 2005 which is before I got the vps, so I'm guessing it's put there at build time.

    Just guessing, but maybe
    Code:
    POSTFIX_SASL=0
    is the reason postfix didn't install with sasl support?

    If so, do I just change that to
    Code:
    POSTFIX_SASL=1
    and uncomment
    Code:
    # - sasl_library=cyrus-sasl-devel
    then re-install to get it to work as it should?

    Really appreciate all your help. Thanks
     

Share This Page