On Fri, 2004-08-13 at 07:18, Fabio Gomes wrote:
> Entelin wrote:
> > On Thu, 2004-08-12 at 07:55, Fabio Gomes wrote:
> > 
> >>Entelin wrote:
> >>
> >>>ehlo
> >>>250-mx0.hasslefreemail.com
> >>>250-PIPELINING
> >>>250-DATAZ
> >>>250-AUTH LOGIN PLAIN
> >>>250 8BITMIME
> >>>AUTH PLAIN (mimencoded pass)
> >>>535 authentication failure
> >>>
> >>>for some reason smtp-auth always fails, tested over telnet like here,
> >>>and various progs. pop3 auth works fine, ive been looking all over for
> >>>more doc's regarding its functionality in qmail-ldap. I am using the
> >>>/var/qmail/boot service scripts unmodified, my qmail-smtpd.rules looks
> >>>like this.
> >>>
> >>>127.0.0.1:allow,RELAYCLIENT="",SMTPAUTH="",NOPBS=""
> >>>:allow,SMTPAUTH="",RCPTCHECK="",REJECTEXEC="",NOPBS=""
> >>>
> >>>Is there anything else that needs to be done to
> >>>get it to work?
> >>>
> >>
> >>Have you tried AUTH LOGIN?
> >>
> > 
> > 
> > yes, it doesnt work either.
> > 
> > 
> >>Show me your /service/qmail-smtpd/run file.
> > 
> > 
> > #!/bin/sh
> > exec 2>&1
> > #
> > # SMTP service
> > #
> > QMAIL="/var/qmail"
> > ME="`head -1 $QMAIL/control/me`"
> > CONCURRENCY=${CONCURRENCY:=50}
> >                                                                                    
> >                           
> > PATH="$QMAIL/bin:$PATH"
> >                                                                                    
> >                           
> > # source the environemt in ./env
> > eval `env - PATH=$PATH envdir ./env awk '\
> >         BEGIN { for (i in ENVIRON) \
> >                 if (i != "PATH") { \
> >                         printf "export %s=\"%s\"\\n", i, ENVIRON[i] \
> >                 } \
> >         }'`
> >                                                                                    
> >                           
> > # enforce some sane defaults
> > USER=${USER:="qmaild"}
> > PBSTOOL=${PBSTOOL:="$QMAIL/bin/pbscheck"}
> >                                                                                    
> >                           
> > if [ X${NOPBS+"true"} = X"true" ]; then
> >         unset PBSTOOL
> > fi
> >                                                                                    
> >                           
> > exec \
> >         envuidgid $USER \
> >         tcpserver -v -URl $ME -x$QMAIL/control/qmail-smtpd.cdb \
> >             ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} 0
> > smtp \
> >         $PBSTOOL \
> >         $QMAIL/bin/qmail-smtpd
> >                                                                                    
> >                           thanks for the help :)
> > 
> 
> 
> try this:
> 
>       $PBSTOOL \
>          $QMAIL/bin/qmail-smtpd \
>       $QMAIL/bin/auth_smtp /usr/bin/true 2>&1
> 
> 
> Restart the qmail-smtpd after.

hmm tried it and it dident do anything different, I have annother system
thats configured about the same way, and it works :/  it was on an older
version so I tried that version on this system and that dident fix
anything either.. pop3 authentication works fine however.


-- 
Entelin <[EMAIL PROTECTED]>

Reply via email to