It always appends the remote ip, thats for logging purposes.


-----Original Message-----
From: matthieu foillard [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 11:35 AM
To: [EMAIL PROTECTED]
Subject: Re: client login problem


On Mon, Mar 05, 2001 at 05:21:14PM +0100, Nicolay Hoey wrote:
> Hello...
> Mon, 5 Mar 2001 17:09:01 +0100 skrev matthieu foillard
<[EMAIL PROTECTED]> :
>
> > On Mon, Mar 05, 2001 at 04:02:52PM -0800, celano e5net wrote:
> > > try to use this as user:
> > > user%domain.com
> >
> > ok :
> >
> > telnet 212.83.156.162 6666
> > Trying 212.83.156.162...
> > Connected to 212.83.156.162.
> > Escape character is '^]'.
> > +OK <[EMAIL PROTECTED]>
> > user matthieu%taktile.net
> > +OK
> > pass _mypass_
> > -ERR authorization failed
> > Connection closed by foreign host.
> >
> > on the pop box :
> >
> > Mar  5 17:06:42 taktile3 vpopmail[16020]: vchkpw: No user found
[EMAIL PROTECTED]:193.253.241.178
> >
> > can you help a little bit again ?
> >
> Are you shure the the user exsists on the server ?

sure! that's my own user :
# cat /etc/passwd
...
matthieu:x:1000:1000:Matthieu Foillard,,,:/home/matthieu:/bin/bash
...

The problem is that it append the remote ip to the username.
for more information here is the script i did to startup qmail* on a Debian
box :

#!/bin/sh

DAEMON=/var/qmail/bin/qmail-smtpd
USERMAX=400
PATH="/var/qmail/bin:/usr/local/bin:$PATH"
test -x $DAEMON || exit 0

case "$1" in
  start)
    echo -n "Starting qmail-smtpd ($USERMAX simultaneous users)"
    start-stop-daemon -S -b -x /usr/local/bin/tcpserver \
    -m -p /var/run/smptd.pid -- \
    -c $USERMAX -v -u 71 -g 71 0 smtp qmail-smtpd \
    2>&1 | splogger smptd 3
    echo "."

    echo -n "Starting qmail-pop3d"
    start-stop-daemon -S -b -x /usr/local/bin/tcpserver \
    -m -p /var/run/pop3d.pid -- \
    -v -u 71 -g 71 -H -R 0 6666 qmail-popup taktile3.taktile.net \
                                                |
                                                L_ i try both taktile3.taktile.net & 
taktile.net
                                                   and it seems not to solve the 
problem
    /var/qmail/vpopmail/bin/vchkpw qmail-pop3d Maildir
    echo "."

    echo -n "Starting qmail-send"
    start-stop-daemon -S -b -x /var/qmail/rc \
    -m -p /var/run/qmail.pid
    echo "."

    ;;
  stop)
    echo -n "Stopping qmail"
    start-stop-daemon -K -p /var/run/smptd.pid
    start-stop-daemon -K -p /var/run/pop3d.pid
    start-stop-daemon -K -p /var/run/qmail.pid
    echo "."
    ;;
  reload)
    echo -n "Reloading qmail-send configuration"
    start-stop-daemon -p /var/run/qmail.pid -s HUP -K
    echo "."
    ;;
  rebuild-relaying)
    echo -n "Rebuilding relaying auth db (/etc/tcp.smtp)"
    tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
    tcprules /etc/tcp.pop3.cdb /etc/tcp.pop3.tmp < /etc/tcp.pop3
    echo "."
    ;;
  force-reload|restart)
    sh $0 stop
    sleep 1
    sh $0 start
    ;;
  *)
    echo "Usage: $0
{start|stop|restart|force-reload|reload|rebuild-relaying}"
    exit 1
    ;;
esac

exit 0

after this i have :

# ps aux
...
...
qmaild   16008  0.0  0.0  1228  372 ?        S    17:04   0:00
/usr/local/bin/tcpserver -v -u 71 -g 71 -H -R 0 6666 qmail-popup
taktile3.taktile.net /var/qmail/vpopmail/bin/vchkpw qmail-pop3d Maildir

vpopmail was configure like this :

./configure \
--enable-roaming-users=y \
--prefix=/var/qmail/vpopmail \
--libdir=/usr/lib

thanks again for your help.

--
Matthieu Foillard <[EMAIL PROTECTED]>
                  <[EMAIL PROTECTED]>
taktile/8 rue Euryale Dehaynin/75019 PARIS
Tel 01 40 18 42 53
GSM 06 86 57 41 70
--

Reply via email to