Portál AbcLinuxu, 17. července 2025 18:27
Dobrý den, konfiguruji saslauthd na UBUNTU Intrepid Ibex dle manualu na http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.10-p2. Pokusim li se spustit
testsaslauthd -u aaa -p bbb -s smtp
dostanu nasledujici hlaseni
connect() : No such file or directory
Pokusim li se pomoci telnetu overtit AUTH PLAIN dostanu v logu postfixu toto
Jan 18 10:31:53 kraken postfix/smtpd[28678]: < localhost[127.0.0.1]: AUTH PLAIN afdgasfgwqergwreg Jan 18 10:31:53 kraken postfix/smtpd[28678]: xsasl_cyrus_server_first: sasl_method PLAIN, init_response afdgasfgwqergwreg Jan 18 10:31:53 kraken postfix/smtpd[28678]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: another step is needed in authentication Jan 18 10:31:53 kraken postfix/smtpd[28678]: > localhost[127.0.0.1]: 535 5.7.8 Error: authentication failed: another step is needed in authentication
Nemuzte mne prosim nekdo nakopnout spravnym smerem ?
Pokusim li se spustit
testsaslauthd -u aaa -p bbb -s smtpdostanu nasledujici hlaseni
connect() : No such file or directory
Bezi ten saslauthd demon? Lebo podla tej hlasky to tak nevyzera. Alebo ak bezi, tak si pozrite ci mate socket na dobrom mieste.
Daemon bezi a vzhledem k tomu ze postfix bezi v chrootu mam socket zde
/var/spool/postfix/var/run/saslauthd
Konfiguracni soubor saslu /etc/default/saslauthd obsahuje toto
START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="pam" THREADS=5 OPTIONS="-c -V -m /var/spool/postfix/var/run/saslauthd -r
V pripade ze upresnim socket a zadam
testsaslauthd -u aaa -p bbb -s smtp -f /var/spool/postfix/var/run/saslauthd
dostanu nasledujici hlaseni
connect() : Connection refused
Problém bude asi v tom, že používáte v Salsauth mechanizmus PAM a pokoušíte se připojit pomocí plain.
Podle toho co jsem cetl overovaci sluzba saslauth by mela podporovat nesifrovane mechanismy PLAIN a LOGIN ????
Mam pocit ze saslauthd nebere v potaz konfiguracni soubor
/etc/postfix/sasl/smtpd.conf
jelikoz behem jakehokoliv pokusu o autentizaci nepristoupi k MySQL serveru. Je jeho umisteni spravne ?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.