[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix und SASLAUTH



Thomas Halinka schrieb:
Hallo zusammen,

Hallo!

es ist zum Haare raufen....
Ich versuche hier einen Postfix samt SASLAUTH zum laufen zu kriegen....

Jedoch begrüßt mich postfix immer mit ......

Was ich gemacht habe:
/apt-get install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules ipopd-ssl uw-imapd-ssl

/

/ postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf/

/mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650/

/postconf -e 'smtpd_tls_auth_only = no'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
postconf -e 'smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key'
postconf -e 'smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt'
postconf -e 'smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem'
postconf -e 'smtpd_tls_loglevel = 1'
postconf -e 'smtpd_tls_received_header = yes'
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'
postconf -e 'tls_random_source = dev:/dev/urandom'
/

//etc/init.d/postfix restart
/

/mkdir -p /var/spool/postfix/var/run/saslauthd
/

in //etc/default/saslauthd //angepasst/
   PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

/in /etc/init.d/saslauthd angepasst/
   PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"

//etc/init.d/saslauthd start/

vim //etc/c-client.cf   /    I accept the risk

 set disable-plaintext 0

//etc/init.d/openbsd-inetd restart

Aber bei dem anschließenden //telnet localhost 25

//sehe ich leider nichts von 250-STARTTLS???

Warum? kann mir jemand helfen?

downloade dir mal saslfinger und führe das (Shellscript) aus?:


Grüßle
Thomas

PS: etch/sarge das gleiche Problem....

MH



Reply to: