Portál AbcLinuxu, 30. července 2025 23:02
saslauthd[12976]: (pam_unix) check pass; user unknown saslauthd[12976]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= saslauthd[12976]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module saslauthd[12976]: do_auth: auth failure: [user=test@example.cz] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]Z nějakého důvodu nedochází o ověření prostřednictvím databáze MySQL a ověřují se systémovová hesla. Díky za každou radu
postfix/smtpd[22754]: sql plugin Parse the username test.aukce-burza.cz postfix/smtpd[22754]: sql plugin try and connect to a host postfix/smtpd[22754]: sql plugin trying to open db 'maildb' on host 'localhost' postfix/smtpd[22754]: sql plugin could not connect to host localhost postfix/smtpd[22754]: sql plugin couldn't connect to any host saslauthd[21345]: pam_mysql: select returned more than one result saslauthd[21345]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure saslauthd[21345]: do_auth: auth failure: [user=test.aukce-burza.cz] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]- změna localhost na 127.0.0.1 nepomohla - jsem rád, že se již ověřuje/snaží ověřovat přes databázi, proč se k ní ale nepřihlásí ?
perl -MMIME::Base64 -e 'print encode_base64("test\@example.cz\0test\@example.cz\0pass");'a dosazení do:
telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mail.example.cz ESMTP EHLO example.cz 250-mail.example.cz 250-PIPELINING 250-SIZE 25000000 250-VRFY 250-ETRN 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME AUTH PLAIN dGVzdEBhdWtjZS......... 535 Error: authentication failed quit 221 Bye Connection closed by foreign host.
Connect postfix@localhost on maildb Init DB maildb Query SELECT password FROM mailbox WHERE username='test@example.cz' Quitmail.log
postfix/smtpd[11988]: connect from localhost[127.0.0.1] postfix/smtpd[11988]: warning: SASL authentication failure: Password verification failed postfix/smtpd[11988]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed postfix/smtpd[11988]: disconnect from localhost[127.0.0.1]auth.log:
postfix/smtpd[11988]: sql plugin Parse the username test@example.cz postfix/smtpd[11988]: sql plugin try and connect to a host postfix/smtpd[11988]: sql plugin trying to open db 'maildb' on host '127.0.0.1' saslauthd[23724]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure saslauthd[23724]: do_auth: auth failure: [user=test@example.cz] [service=smtp] [realm=aukce-burza.cz] [mech=pam] [reason=PAM auth error]
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.