On Mon, 14 Feb 2005 07:04:01 +0100, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote: >Am Mo, den 14.02.2005 schrieb Steven Stern um 6:51: > >> I know what the error is -- "no secret" in the file /etc/sasldb2 >> >> I just don' t know how to fix it. There are hundreds of hits on Google, but >> no solutions... people just seem to give up. > >> Steve > >No, certainly they don't give up. > >The original log message was: > >Feb 13 19:38:23 ciscy sendmail[28257]: j1E1cJo7028257: AUTH failure >(CRAM-MD5): user not found (-20) SASL(-13): user not found: no secret in >database > >So add a user to the sasldb2 using saslpasswd2 and be sure you use the >correct realm to authenticate then! If you do not pass a realm with the >saslpasswd2 command, then your hostname is used as realm. Your login >name is then > >user@hostname > >If you leave away the realm, then of course the user will not be found. > It's still getting hung up on the "secret", whatever that might be. [root@ciscy ~]# saslpasswd2 -f /etc/sasldb2 -u sterndata.com testuser1 Password: Again (for verification): [root@ciscy ~]# sasldblistusers2 /etc/sasldb2 testuser1@xxxxxxxxxxxxx: userPassword For the password, I entered the real password for testuser1. AT this point, I fired up Thunderbird and attempted to send mail using the testuser1 account. It failed, after entering the "real" password for testuser1. >From /var/log/maillog: Feb 14 06:55:57 ciscy sendmail[16434]: STARTTLS=server, relay=h-66-167-178-157.chcgilgm.dynamic.covad.net [66.167.178.157], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256 >From /var/log/messages: Feb 14 06:56:04 ciscy sendmail[16434]: no secret in database # more /usr/lib/sasl2/Sendmail.conf pwcheck_method:saslauthd -- Steve