On 9/25/05, Jason (AMD_) <[EMAIL PROTECTED]> wrote:
> Good Evening Bill,
>     Still having my smtp auth problem here :(  I just got done doing a
> complete reinstall of vpopmail and qmail using your guide and it still
> won't work.  The weird thing is that I am getting this error when
> tryingto do a manual SMTP 'AUTH LOGIN' (after i enter my username and
> password (base64 encoded)):
>
> 454 oops, unable to write pipe and I can't auth (#4.3.0)
>
> Any ideas?
>
> -- HP
>
> On 9/24/05, Jason (AMD_) <[EMAIL PROTECTED]> wrote:
> > Bill,
> >    I just looked in my logs and saw this:
> >
> > vchkpw-smtp: vpopmail user not found [EMAILADDY]:[IPADDY]
> >
> > The email address is correct though.  Authentication via pop3d works
> > fine with it.  It's like the smtp auth isn't looking up the password
> > in MySQL's db or something???
> >
> > -- HP
> >
> > On 9/24/05, Jason (AMD_) <[EMAIL PROTECTED]> wrote:
> > > Hi Bill,
> > >   Thanks for the quick response.
> > >
> > > It was running as root:qmail but I changed it to vpopmail:vchkpw and
> > > restarted the services but it still won't work :(  The weird thing is
> > > it's even making me authenticate (or try to authenticate) when sending
> > > to local domains as well.
> > >
> > > -- HP
> > >
> > > On 9/24/05, Bill Shupp <[EMAIL PROTECTED]> wrote:
> > > > Jason (AMD_) wrote:
> > > > > Hi,
> > > > >    Let me first say what  an awesome resource this is :)  Thanks!
> > > > >
> > > > > Now then, I've got a  working toaster install EXCEPT for smtp-auth.
> > > > > Here is my qmail-smtpd/run  file:
> > > > >
> > > > > exec softlimit -m 10000000  \
> > > > >    tcpserver -v -H -R -l 0 \
> > > > >    -x /var/vpopmail/etc/tcp.smtp.cdb -c  "$MAXSMTPD" \
> > > > >    -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> > > > >    recordio  /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw
> > > > > /bin/true  2>&1
> > > > >
> > > > > Of course, the variables  are good, and recordio is only in there for
> > > > > diagnosing this problem.  The  problem is I can POP mail using
> > > > > vpopmail (using MySQL), but can't send mail to  remote domains by
> > > > > logging in.  It keeps prompting me for the username and  password (as
> > > > > if they are wrong).  I've recompile qmail from scratch and it still
> > > > > wont work.  I've recompiled vpopmail thinking it was a corrupt install
> > > > > but still  nothing.  Can anyone see anything wrong with my run file,
> > > > > or at least help me in  finding the problem?  Below is my log of the
> > > > > smtp-auth  attempt:
> > > > >
> > > > > @400000004335f426301040ac  tcpserver: status: 0/20
> > > > > @400000004335f48f23a632a4 tcpserver: status:  1/20
> > > > > @400000004335f48f23a64a14 tcpserver: pid 9565 from  <REMOTEIP>
> > > > > @400000004335f48f23a655cc  tcpserver: ok 9565 0:<SERVERIP>  
> > > > > :<REMOTEIP>::50665
> > > > >  400000004335f48f23b68e24 9565 >  220 <DOMAIN> ESMTP
> > > > >  400000004335f48f266dc6b4 9565 <  EHLO froogy
> > > > >  400000004335f48f266f2a2c 9565 >  250-<DOMAIN>
> > > > >  400000004335f48f266f64c4  9565 > 250-PIPELINING
> > > > >  400000004335f48f266f93a4 9565 >  250-8BITMIME
> > > > >  400000004335f48f266fbe9c 9565 > 250-SIZE  10000000
> > > > >  400000004335f48f2670d7dc 9565 > 250 AUTH LOGIN PLAIN  CRAM-MD5
> > > > >  400000004335f48f2938ecd4 9565 < AUTH  LOGIN
> > > > >  400000004335f48f2939b024 9565 >  334 VXNlcm5hbWU6
> > > > >  400000004335f48f2bee0a54  9565 < <64 BIT HASH>
> > > > >  400000004335f48f2bee9ec4 9565 >  334 UGFzc3dvcmQ6
> > > > >  400000004335f48f2ea644b4  9565 < <64 BIT HASH>
> > > > >  400000004335f4942edf1b7c 9565 > 535  authentication failed (#5.7.1)
> > > > > @400000004335f4943198e064 9565 <  [EOF]
> > > > > @400000004335f494319ac8ac 9565 > [EOF]
> > > > > @400000004335f494319ad07c  tcpserver: end 9565 status 256
> > > > >
> > > > >
> > > > > Thanks for the help!
> > > >
> > > > What user is qmail-smtpd running as?  It should be vpopmail:vchkpw
> > > >
> > > > Bill
> > > >
> > >
> >
>

One step I would do is turn on mysql logging and watch the select
statements that are executed when you try to authenticate - make sure
everything looks good there and keep troubleshooting. If you followed
the toaster exactly, it should just 'work' - I noticed in your
previous post that you were specifying CRAM_MD5 as your login type -
do you have clear text passwords in your vpopmail database ? If not,
CRAM_MD5 won't work. Try AUTH PLAIN
--

Jason
[EMAIL PROTECTED]

Reply via email to