Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40036 - Sendmail + SASL (2) fails plaintext auth.
Summary: Sendmail + SASL (2) fails plaintext auth.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 22:09 UTC by Pieter De Wit
Modified: 2004-07-30 09:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter De Wit 2004-01-31 22:09:51 UTC
When using sendmail to auth. system users via plain text it keeps on returning the following errors:

sm-mta[9378]: i115xtOo009378: AUTH failure (PLAIN): user not found (-20) SASL(-13): user not found: Password verification failed

What used to happen in that the user would be auth. from the system accounts, so if I had a user call joe with password joe, that user would be able to retrieve mail using that username and password. They would also be able to auth. to sendmail for "relaying/sendmail" email. If I now add a user to the sasldb using saslpasswd2 (I think) with the same details etc. it works. The problem is that I don't want to go and try and keep these accounts sync'ed. 

I would like to get sendmail to auth. my plain text users again as it was, or get uw-imap to auth. from my sasldb. I am currently looking into the whole TLS thing etc. I do believe I have tried it with the same results (it was late :)

Thanks,
Pieter

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pieter De Wit 2004-06-27 21:33:24 UTC
Anything ?
Comment 2 Cory Visi (RETIRED) gentoo-dev 2004-06-29 00:02:09 UTC
Pieter, what version of cyrus-sasl are you using? When did this problem start happening? Did it ever work? Did you recently upgrade anything? Which version of sendmail are you using?

Can you also paste emerge --info?
Thanks!

Sorry for the long delay in getting to this bug!
Comment 3 Pieter De Wit 2004-07-04 21:11:18 UTC
Hey Cory,

My time to say sorry for the delay. This problem started a day or two before the bug was logged. What sendmail used to be able to do was to auth. from the system accounts. Since the system is part of the "not-yet-offical" South African mirrors, it is kept up-to-date as far as I can. I will have to give you current versions for the software, since it is still doing it. It used to work :)

I run a small ISP here, so I have already move all my users into using the username@domain.bla auth. for sendmail. Is there a way that I can get uw-imap to auth. from the same database ?

emerge --info
-------------

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Celeron (Covington)
Gentoo Base System version 1.5.1
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.nfdb.co.za/mirrors/gentoo/source/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.insync.za.net/gentoo-portage"
USE="X apache2 apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib jpeg kde ldap libg++ libwww mad mbox mikmod milter motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

[ebuild   R   ] dev-libs/cyrus-sasl-2.1.18  +gdbm -java -kerberos +ldap +mysql +pam -postgres +ssl -static  0 kB
[ebuild   R   ] mail-mta/sendmail-8.12.11-r3  +ldap -mailwrapper +mbox +milter +sasl +ssl +tcpd  0 kB

Thanks,

Pieter
Comment 4 Antonio Mari 2004-07-21 05:26:03 UTC
I've got the same problem, my temporal solution has been downgrade version of cyrus-sasl from 2.1.18 to 2.1.14

My system info is:

 # emerge --info

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/chroot/dns/etc /chroot/dns/var/bind /etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/local/Zend/etc /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://marvin.svr.at4.net http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://dexter.svr.at4.net/gentoo-portage"
USE="acl acpi apm crypt curl fbcon gd gdbm gif gpm gtk2 imlib jpeg lcms ldap libg++ libwww mbox memlimit mmx ncurses nls pam pdflib perl png postgres python quicktime readline sasl slang spell ssl svga tcpd tiff truetype unicode x86 xml xml2 zlib"

[ebuild   R   ] dev-libs/cyrus-sasl-2.1.14  -berkdb +gdbm -java -kerberos +ldap -mysql +pam +ssl -static  0 kB 
[ebuild   R   ] mail-mta/sendmail-8.12.11-r3  +ldap -mailwrapper +mbox -milter +sasl +ssl +tcpd  0 kB 
Comment 5 Tuan Van (RETIRED) gentoo-dev 2004-07-22 13:01:47 UTC
Please check that you have a file /etc/sasl2/Sendmail.conf. Sometime in the previous release, Sendmail.conf has moved from /usr/lib/sasl/ to /etc/sasl2/. Please post the content of /etc/sasl2/Sendmail.conf.
Comment 6 Tuan Van (RETIRED) gentoo-dev 2004-07-30 09:37:18 UTC
One week passed without response to RFI, resolve as NEEDINFO. Please reopen with asked INFO.