RE: [vchkpw] Roaming user support is finished ?

2011-07-18 Thread Bulent Malik
 
/usr/local/bin/tcpserver  -vR -l 0 -c 1000 -u 89 -g 89 -x
/var/qmail/vpopmail/etc/tcp.smtp.cdb 0 25 qmail-smtpd 0
/var/qmail/vpopmail/bin/vchkpw /usr/bin/true



 I use vpopmail and dovecot on qmail.
 I upgraded vpopmail5.4.23 to 5.4.33 and dovecot1.2.16 Open-smtp file 
 doesn't change when the user logs in.

 Is that problem might be different version either of dovecot or vpopmail
?

What do you have in /var/qmail/supervise/qmail-smtpd/run .?



--
La Voluntad es el único motor de nuestros logros
http://ngen.com.ar/blog




!DSPAM:4e23d2ec32717805913939!



Re: [vchkpw] Roaming user support is finished ?

2011-07-18 Thread Bob Hutchinson
On Saturday 16 July 2011, Bulent Malik wrote:
 Hi
 
 I use vpopmail and dovecot on qmail.
 I upgraded vpopmail5.4.23 to 5.4.33 and dovecot1.2.16
 Open-smtp file doesn't change when the user logs in.
 
 Is that problem might be different version either of dovecot or vpopmail ?

I'm inclined to think you need to recompile qmail to pick up the new 
libraries.

 
 
 
 


-- 
-
Bob Hutchinson
Midwales dot com
-

!DSPAM:4e23fcf932713232810454!



Re: [vchkpw] Roaming user support is finished ?

2011-07-17 Thread Carlos Miranda Molina (Mstaaravin)
2011/7/16 Bulent Malik bma...@ihlas.net.tr:
 Hi

 I use vpopmail and dovecot on qmail.
 I upgraded vpopmail5.4.23 to 5.4.33 and dovecot1.2.16
 Open-smtp file doesn't change when the user logs in.

 Is that problem might be different version either of dovecot or vpopmail ?

What do you have in /var/qmail/supervise/qmail-smtpd/run .?



-- 
La Voluntad es el único motor de nuestros logros
http://ngen.com.ar/blog

!DSPAM:4e23bc8b32715140057714!



[vchkpw] Roaming user support is finished ?

2011-07-16 Thread Bulent Malik
Hi

I use vpopmail and dovecot on qmail.
I upgraded vpopmail5.4.23 to 5.4.33 and dovecot1.2.16
Open-smtp file doesn't change when the user logs in.

Is that problem might be different version either of dovecot or vpopmail ?



!DSPAM:4e212efc32719599414674!



[vchkpw] roaming user relay problem, no relay in /home/vpopmail/etc/tcp.smtp.cdb file

2007-01-08 Thread A OKAN YÜKSEL

hi,

i installed vpopmail with roaming user and  with mysql support correctly.
but i have a problem about relaying pop3 users.. when pop3 used remote ip
address is added to relay table on mysql.. but i cant see ip address on cdb
file..  i checked tcp.smtp.cdb file with cdbdump ..
smtp run file like:

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -H -R -v -p -x /home/vpopmail/etc/tcp.smtp.cdb \
-u $VPOPMAILUID -g 1010 0 smtp /var/qmail/bin/qmail-smtpd 21

and i changed qmail startup file too for right path of tcp.smtp..

-rw-r--r--  1 vpopmail  vchkpw26 Jan  8 11:53 tcp.smtp
-rw-r--r--  1 vpopmail  vchkpw  2090 Jan  9 03:51 tcp.smtp.cdb

thanks


Re: [vchkpw] Roaming user problem with Courier-imap

2006-05-23 Thread Halid Faith
As I have understood your explain ( according to I use courier-imap4.x ) the
roaming-users will not work with courier-imap4.x properly, will it ?
- Original Message - 
From: Michael Bowe
To: vchkpw@inter7.com
Sent: Tuesday, May 23, 2006 12:17 AM
Subject: Re: [vchkpw] Roaming user problem with Courier-imap


- Original Message - 
From: Bulent

I use courier-imap4.0.6, vpopmail5.4 with qmail1.03.

Although the roaming user works well with pop3, I could not work
roaming-user ( imap before smtp ) option with imap.

How can I correct this problem ?

IMAP-before-SMTP is possible when using Courier-IMAP v3.x. However it only
works when configured --with-authvchkpw --without-authdaemon. When
running --without-authdaemon, Courier-IMAP's authvchkpw code is able to make
use of vpopmail's roaming user functions to allow IMAP-before-SMTP
functionality. IMAP-before-SMTP is not possible when Courier-IMAP has been
complied --with-authdaemon, because in this mode the user's IP address is
not made available to the authvchkpw code (via the TCPREMOTEIP env var).
Also note that in Courier-IMAP v4.x and later, --without-authdaemon
functionality is no longer available thus preventing IMAP-before-SMTP from
working.

Michael.



Re: [vchkpw] Roaming user problem with Courier-imap

2006-05-23 Thread Michael Bowe
- Original Message - 
From: Halid Faith [EMAIL PROTECTED]



As I have understood your explain ( according to I use courier-imap4.x ) 
the

roaming-users will not work with courier-imap4.x properly, will it ?


Thats correct. More info available at
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS

You either have to downgrade to courier-imap v3.x, or upgrade your qmail to 
support SMTP-AUTH


Over time POP-before-SMTP is becoming a less favoured way of allowing 
roaming users to relay mail. SMTP-Auth appears to becoming the more 
preferred option, as it scales much more easily on a busy server. However 
for a small to medium sized server, POP-before-SMTP is still quite a 
workable option. If you would like investigate the use of SMTP-Auth take a 
look at this patch http://www.fehcom.de/qmail/smtpauth.html#PATCHES


Michael. 



Re: [vchkpw] Roaming user problem with Courier-imap

2006-05-23 Thread Bulent
Thanks a lot for the information.   my server already has smtp-auth.


- Original Message - 
From: Michael Bowe [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 23, 2006 3:41 PM
Subject: Re: [vchkpw] Roaming user problem with Courier-imap


 - Original Message - 
 From: Halid Faith [EMAIL PROTECTED]


  As I have understood your explain ( according to I use courier-imap4.x )
  the
  roaming-users will not work with courier-imap4.x properly, will it ?

 Thats correct. More info available at

http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS

 You either have to downgrade to courier-imap v3.x, or upgrade your qmail
to
 support SMTP-AUTH

 Over time POP-before-SMTP is becoming a less favoured way of allowing
 roaming users to relay mail. SMTP-Auth appears to becoming the more
 preferred option, as it scales much more easily on a busy server. However
 for a small to medium sized server, POP-before-SMTP is still quite a
 workable option. If you would like investigate the use of SMTP-Auth take a
 look at this patch http://www.fehcom.de/qmail/smtpauth.html#PATCHES

 Michael.





[vchkpw] Roaming user problem with Courier-imap

2006-05-22 Thread Bulent



Hello

I use courier-imap4.0.6, vpopmail5.4 with 
qmail1.03.

Although the roaming user works well with pop3, I 
couldnot work roaming-user ( imap before smtp ) option with 
imap.

How can I correct this problem 
?


Re: [vchkpw] Roaming user problem with Courier-imap

2006-05-22 Thread Michael Bowe




  - Original Message - 
  From: 
  Bulent 
  
  
  I use courier-imap4.0.6, vpopmail5.4 with 
  qmail1.03.
  
  Although the roaming user works well with pop3, I 
  couldnot work roaming-user ( imap before smtp ) option with 
  imap.
  
  How can I correct this problem 
  ?
  

IMAP-before-SMTP is possible when using Courier-IMAP v3.x. However it only 
works when configured "--with-authvchkpw --without-authdaemon". When running 
--without-authdaemon, Courier-IMAP's authvchkpw code is able to make use of 
vpopmail's roaming user functions to allow IMAP-before-SMTP functionality. 
IMAP-before-SMTP is not possible when Courier-IMAP has been complied 
--with-authdaemon, because in this mode the user's IP address is not made 
available to the authvchkpw code (via the TCPREMOTEIP env var). Also note that 
in Courier-IMAP v4.x and later, --without-authdaemon functionality is no longer 
available thus preventing IMAP-before-SMTP from working.

Michael.



[vchkpw] Roaming user don't work

2004-06-01 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I've a problem with vpopmail 5.5.0 and roaming user. I've compile vpopmail 
like this but, i couldn't log in via pop3 before smtp.

I've testing with Kmail :
- - smtp.my_domain.com
- - login : [EMAIL PROTECTED]
- - password : mypass
- - Authentification : login or cram or plain

oops, unable to write pipe and I can't auth (#4.3.0) 

./configure \
- --prefix=/home/vpopmail \
- --enable-qmail-newu=/var/qmail/bin/qmail-newu \
- --enable-vpopuser=vpopmail \
- --enable-vpopgroup=vchkpw \
- --enable-roaming-users \
- --enable-relay-clear-minutes=90 \
- --enable-sqwebmail-pass \
- --enable-qmail-ext \
- --enable-ip-alias-domains \
- --enable-domainquotas \
- --enable-auth-module=mysql \
- --enable-logging=p \
- --enable-auth-logging \
- --enable-mysql-logging \
- --enable-libdir=/usr/include/mysql \
- --enable-valias \
- --enable-mysql-logging \
- --enable-clear-passwd \
- --enable-mysql-limits \
- --enable-tcprules-prog=/usr/local/bin/tcprules \
- --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp

make
make install-strip

Regards
- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvEdM1zwfep5k9qERAny7AKCyQkuTEj8DAJdXo0umwcD4nL7rHACcDLa2
QI+ZxjRg3m4h8si1t3l7tXM=
=cU3A
-END PGP SIGNATURE-



Re: [vchkpw] Roaming user don't work

2004-06-01 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  I've a problem with vpopmail 5.5.0 and roaming user. I've compile
  vpopmail like this but, i couldn't log in via pop3 before smtp.
 
  I've testing with Kmail :
  - smtp.my_domain.com
  - login : [EMAIL PROTECTED]
  - password : mypass
  - Authentification : login or cram or plain
 
  oops, unable to write pipe and I can't auth (#4.3.0)

 that's not pop-before-smtp.  You're trying to use SMTP auth and haven't set
 it up properly.

Yes, i've patch qmail with colapse.sh and with shupp's patch 
qmail-toaster-0.6-1.patch
.
 Show us your smtp run script.

#!/bin/sh
PATHQMAIL=/var/qmail

PATH=$PATHQMAIL/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/sbin:/usr/
sbin:/sbin
QMAILQUEUE=$PATHQMAIL/bin/qmail-scanner-queue.pl
export PATH
export QMAILQUEUE

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat $PATHQMAIL/control/concurrencyincoming`
LOCAL=`head -1 $PATHQMAIL/control/me`
HOTE=my_domain.com
SPAM=-r relays.ordb.org
SOFTLIMIT=3700

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; 
then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo $PATHQMAIL/supervise/smtpd/run
exit 1
fi

if [ ! -f $PATHQMAIL/control/rcpthosts ]; then
echo No $PATHQMAIL/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open 
relay
exit 1
fi

exec /usr/local/bin/softlimit -m $SOFTLIMIT \
/usr/local/bin/tcpserver -v -p -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb \
- -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 smtp \
rblsmtpd $SPAM \
qmail-smtpd $HOTE \
/home/vpopmail/bin/vchkpw /bin/true 21

++
- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvEzU1zwfep5k9qERAi0QAKC+vwo3Qe2te7ummDSBXOVTfKsE+wCgmuea
IbYhe2P61rsTeZQp9X0XAmU=
=IsLN
-END PGP SIGNATURE-



Re: [vchkpw] Roaming user don't work

2004-06-01 Thread Jeremy Kitchen
On Tuesday 01 June 2004 04:31 am, Franck wrote:
   I've a problem with vpopmail 5.5.0 and roaming user. I've compile
   vpopmail like this but, i couldn't log in via pop3 before smtp.
  
   I've testing with Kmail :
   - smtp.my_domain.com
   - login : [EMAIL PROTECTED]
   - password : mypass
   - Authentification : login or cram or plain
  
   oops, unable to write pipe and I can't auth (#4.3.0)
 
  that's not pop-before-smtp.  You're trying to use SMTP auth and haven't
  set it up properly.

 Yes, i've patch qmail with colapse.sh and with shupp's patch
 qmail-toaster-0.6-1.patch

I'm not sure what's all included in that 'toaster' patch, but my guess is:
 qmail-smtpd $HOTE \
 /home/vpopmail/bin/vchkpw /bin/true 21

you should take out the '$HOTE' there.  Be careful though, depending on which 
day of the month you grabbed the SMTP auth patch it has different command 
line requirements.

If you modify the command line, make absolutely certain you cannot simply use 
any arbitrary information to authenticate with your SMTP server or you are an 
open relay and your server WILL get abused.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] Roaming user don't work

2004-06-01 Thread David
On Tue, 2004-06-01 at 11:31, Franck wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
   I've a problem with vpopmail 5.5.0 and roaming user. I've compile
   vpopmail like this but, i couldn't log in via pop3 before smtp.
  
   I've testing with Kmail :
   - smtp.my_domain.com
   - login : [EMAIL PROTECTED]
   - password : mypass
   - Authentification : login or cram or plain
  
   oops, unable to write pipe and I can't auth (#4.3.0)
 
  that's not pop-before-smtp.  You're trying to use SMTP auth and haven't set
  it up properly.
 
 Yes, i've patch qmail with colapse.sh and with shupp's patch 
 qmail-toaster-0.6-1.patch
 .
  Show us your smtp run script.
 
 #!/bin/sh
 PATHQMAIL=/var/qmail
 
 PATH=$PATHQMAIL/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/sbin:/usr/
 sbin:/sbin
 QMAILQUEUE=$PATHQMAIL/bin/qmail-scanner-queue.pl
 export PATH
 export QMAILQUEUE
 
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat $PATHQMAIL/control/concurrencyincoming`
 LOCAL=`head -1 $PATHQMAIL/control/me`
 HOTE=my_domain.com
 SPAM=-r relays.ordb.org
 SOFTLIMIT=3700
 
 if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; 
 then
 echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
 echo $PATHQMAIL/supervise/smtpd/run
 exit 1
 fi
 
 if [ ! -f $PATHQMAIL/control/rcpthosts ]; then
 echo No $PATHQMAIL/control/rcpthosts!
 echo Refusing to start SMTP listener because it'll create an open 
 relay
 exit 1
 fi
 
 exec /usr/local/bin/softlimit -m $SOFTLIMIT \
 /usr/local/bin/tcpserver -v -p -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb \
 - -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 smtp \
 rblsmtpd $SPAM \
 qmail-smtpd $HOTE \
 /home/vpopmail/bin/vchkpw /bin/true 21
 
 ++

Hi,
maybe this won't help much but I think with the SMTP auth patch your
qmail-smtpd run shouldn't contain the $HOTE before vchkpw. See if
removing it changes something.
Also maybe using recordio could shed some light on this.
I'm using Bill's patch too, here's an excerpt from my qmail-smtpd run
file:

exec /usr/local/bin/softlimit -m 1600 \
envdir /etc/relay-ctrl \
/usr/bin/relay-ctrl-chdir \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
 /usr/bin/recordio  /usr/local/bin/rblsmtpd -b -r sbl.spamhaus.org -r
relays.ordb.org \
  /usr/bin/relay-ctrl-check   /var/qmail/bin/qmail-smtpd \
/Appz2/VPopMail/bin/vchkpw /bin/true 21




Re: [vchkpw] Roaming user don't work

2004-06-01 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

   that's not pop-before-smtp.  You're trying to use SMTP auth and haven't
   set it up properly.
 
  Yes, i've patch qmail with colapse.sh and with shupp's patch
  qmail-toaster-0.6-1.patch

 I'm not sure what's all included in that 'toaster' patch, but my guess is:
  qmail-smtpd $HOTE \
  /home/vpopmail/bin/vchkpw /bin/true 21

 you should take out the '$HOTE' there.  Be careful though, depending on
 which day of the month you grabbed the SMTP auth patch it has different
 command line requirements.

I've take out $HOTE and i've changing permission on :
- -rw-r--r--   1 vpopmail vchkpw   39 May 11 11:07 vpopmail.mysql

But, in var/log/message, i've this :
vpopmail[15499]: vchkpw-smtp: vpopmail user not found 
[EMAIL PROTECTED]:81.56.xxx.xx

The login is not [EMAIL PROTECTED] ? It's only for pop before smtp ???

++

- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvFa71zwfep5k9qERAoPQAJ9zTOKKuwMB9BLkNEFryixH/idEBgCcDYUV
4l2zYcTnmwa4GGiZbBg64t4=
=LhnG
-END PGP SIGNATURE-



Re: [vchkpw] Roaming user don't work

2004-06-01 Thread Tom Collins
On Jun 1, 2004, at 3:13 AM, Franck wrote:
I've take out $HOTE and i've changing permission on :
- -rw-r--r--   1 vpopmail vchkpw   39 May 11 11:07 vpopmail.mysql
Make sure you only do that during testing, and then change it back to 
640 when you're done.  Leaving that file world-readable gives anyone 
with access to your server a chance to learn the MySQL username and 
password used for your vpopmail tables.  Could be a very bad thing.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Roaming user don't work

2004-06-01 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Franck wrote:
 snip

 But, in var/log/message, i've this :
 vpopmail[15499]: vchkpw-smtp: vpopmail user not found
 [EMAIL PROTECTED]:81.56.xxx.xx

  The login is not [EMAIL PROTECTED] ? It's only for pop before smtp ???


No, the login certainly is. It is just like loggin in to pop, except now
you are loggin into SMTP to send an email.

X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAvSPdJukONu5DUaQRAmKeAJsFnjcTgdAqUAWjtH4mkRaqcwWqBgCeLOF9
fSn/J4I3gkZo385tOg9BdHE=
=ucOZ
-END PGP SIGNATURE-


Re: [vchkpw] Roaming user support

2003-12-09 Thread martin
I was running 5.2.1 on RH 9 with enable roaming and also clear passwd=y 
   I did upgrade to 5.2.2 and everything seemed ok... what OS are u 
using?  Does anyone have any insights on this?  

thanks,
Martin
Arnaud BECKER wrote:

Yes, I've used :
--enable-roaming-users=y
I've put something like that :
/configure --enable-roaming-users=y --enable-logging=y 
--enable-defaultquota=150 --enable-ip-alias-domains=y 
--enable-mysql=y --enable-clear-passwd=n 
--enable-libdir=/usr/include/mysql/

I was using the 5.2.1, but I thought that an upgrade would solve the 
problem, but it's not ! And now I have the version 5.3.30

any idea ?



Le 8 déc. 03, à 23:26, martin a écrit :

how did you set up the ./configure?   ./configure 
--enable-roaming-users=yes ?   ( I think that is the flag)  what 
version of Vpopmail are you using?  the one from below?

Arnaud BECKER wrote:

Could anyone help me please with my problems with the roaming user 
support.

please please
I don't know what to do to make it work well. I don't know where is 
the problem or error.



Le 8 déc. 03, à 11:57, Michael Bowe a écrit :

- Original Message -
From: [EMAIL PROTECTED]

Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming 
users


The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30
Michael






.













Re: [vchkpw] Roaming user support

2003-12-09 Thread Arnaud BECKER
I have the problem on very different OS : a Debian and a Mandrake.

I don't think that using clear-passwd enabled would change anything as 
I have storing configuration with mysql as you can see below
and at the url :  
http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php#vpopmail
(I've of course adapted this tutorial to the new version of vpopmail 
with the help of : 
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#VPOPMAIL

Do you have any idae ?



Le 9 déc. 03, à 19:29, martin a écrit :

I was running 5.2.1 on RH 9 with enable roaming and also clear 
passwd=y    I did upgrade to 5.2.2 and everything seemed ok... 
what OS are u using?  Does anyone have any insights on this?
thanks,
Martin

Arnaud BECKER wrote:

Yes, I've used :
--enable-roaming-users=y
I've put something like that :
/configure --enable-roaming-users=y --enable-logging=y 
--enable-defaultquota=150 --enable-ip-alias-domains=y 
--enable-mysql=y --enable-clear-passwd=n 
--enable-libdir=/usr/include/mysql/

I was using the 5.2.1, but I thought that an upgrade would solve the 
problem, but it's not ! And now I have the version 5.3.30

any idea ?



Le 8 déc. 03, à 23:26, martin a écrit :

how did you set up the ./configure?   ./configure 
--enable-roaming-users=yes ?   ( I think that is the flag)  what 
version of Vpopmail are you using?  the one from below?

Arnaud BECKER wrote:

Could anyone help me please with my problems with the roaming user 
support.

please please
I don't know what to do to make it work well. I don't know where is 
the problem or error.



Le 8 déc. 03, à 11:57, Michael Bowe a écrit :

- Original Message -
From: [EMAIL PROTECTED]

Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming 
users


The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30
Michael






.
















Re: [vchkpw] roaming user

2003-12-08 Thread Arnaud BECKER
As you told me, I have upgraded to  vpopmail-5.3.30

But I still have the problem and get the message :
sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
When I want to send an email with SMTP.
As if vpopmail don't added my IP into the tcp.smtp.cdb database file.
and that's the case, there isn't my IP in this file.
Anyone have a solution for that ? Because I have this problem on 2 
servers.



Le 7 déc. 03, à 11:24, Michael Bowe a écrit :

- Original Message -
From: Arnaud BECKER [EMAIL PROTECTED]
I have installed on 2 linux (debian and mandrake) Qmail + vpopmail +
Courier-Imap   based on this very well done document :
http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php
I have a big problem.
The roaming user is not working. When I want to send an email, it
answer that I'm not authorized to send mail through that smtp server.
As if tcpserver isn't wrapping the POP3 and IMAP connections to
authentificate connections and add them to the tcp.smtp.cdb
What is strange is that if I stop the qmail service and I restart it,
it works but only for the people which are connecting to the server
just at this time.
I see that site recommends vpopmail-5.2.1
I dont think this is a very good idea, as this version contains a 
number of
bugs, including a big one that causes problems with authenticating in
courier-imap.

I would recommend that you upgrade to the current stable 
vpopmail-5.2.2, or
even the current development vpopmail-5.3.30

Note that if you upgrade your vpopmail, you will also then need to 
rebuild
any other apps that use the vpopmail functions (eg qmailadmin, 
courier-imap)

I have recently written some information regarding vpopmail roaming 
users.
Perhaps take a look and see if it helps you solve your problem :
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#VPOPMAIL

Michael.






Re: [vchkpw] roaming user

2003-12-08 Thread Arnaud BECKER
I don't know, but I had the same problem with the version 5.2.1

Le 8 déc. 03, à 10:56, Jacob Mathew a écrit :

hello.

does vpopmail-5.3.30 has got any problems in supporting roaming 
users

regds
Jacob
- Original Message -
From: Arnaud BECKER [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 08, 2003 3:13 PM
Subject: Re: [vchkpw] roaming user
As you told me, I have upgraded to  vpopmail-5.3.30

But I still have the problem and get the message :
sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
When I want to send an email with SMTP.
As if vpopmail don't added my IP into the tcp.smtp.cdb database file.
and that's the case, there isn't my IP in this file.
Anyone have a solution for that ? Because I have this problem on 2
servers.


Le 7 déc. 03, à 11:24, Michael Bowe a écrit :

- Original Message -
From: Arnaud BECKER [EMAIL PROTECTED]
I have installed on 2 linux (debian and mandrake) Qmail + vpopmail +
Courier-Imap   based on this very well done document :
http://sylvestre.ledru.info/howto/howto_qmail_vpopmail.php
I have a big problem.
The roaming user is not working. When I want to send an email, it
answer that I'm not authorized to send mail through that smtp server.
As if tcpserver isn't wrapping the POP3 and IMAP connections to
authentificate connections and add them to the tcp.smtp.cdb
What is strange is that if I stop the qmail service and I restart it,
it works but only for the people which are connecting to the server
just at this time.
I see that site recommends vpopmail-5.2.1
I dont think this is a very good idea, as this version contains a
number of
bugs, including a big one that causes problems with authenticating in
courier-imap.
I would recommend that you upgrade to the current stable
vpopmail-5.2.2, or
even the current development vpopmail-5.3.30
Note that if you upgrade your vpopmail, you will also then need to
rebuild
any other apps that use the vpopmail functions (eg qmailadmin,
courier-imap)
I have recently written some information regarding vpopmail roaming
users.
Perhaps take a look and see if it helps you solve your problem :
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#VPOPMAIL
Michael.









[vchkpw] Roaming user support in vpopmail 5.3.30

2003-12-08 Thread jacobm
Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming users

 regds
 Jacob






Re: [vchkpw] Roaming user support in vpopmail 5.3.30

2003-12-08 Thread Michael Bowe
- Original Message - 
From: [EMAIL PROTECTED]


 Hello all
 
 does vpopmail-5.3.30 has got any problems in supporting roaming users

The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30

Michael




[vchkpw] Roaming user support

2003-12-08 Thread Arnaud BECKER
Could anyone help me please with my problems with the roaming user 
support.

please please
I don't know what to do to make it work well. I don't know where is the 
problem or error.



Le 8 déc. 03, à 11:57, Michael Bowe a écrit :

- Original Message -
From: [EMAIL PROTECTED]

Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming 
users
The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30
Michael






Re: [vchkpw] Roaming user support

2003-12-08 Thread martin
how did you set up the ./configure?   ./configure 
--enable-roaming-users=yes ?   ( I think that is the flag)  what 
verision of Vpopmail are you using?  the one from below?

Arnaud BECKER wrote:

Could anyone help me please with my problems with the roaming user 
support.

please please
I don't know what to do to make it work well. I don't know where is 
the problem or error.



Le 8 déc. 03, à 11:57, Michael Bowe a écrit :

- Original Message -
From: [EMAIL PROTECTED]

Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming 
users


The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30
Michael






.






Re: [vchkpw] Roaming user support

2003-12-08 Thread Arnaud BECKER
Yes, I've used :
--enable-roaming-users=y
I've put something like that :
/configure --enable-roaming-users=y --enable-logging=y 
--enable-defaultquota=150 --enable-ip-alias-domains=y 
--enable-mysql=y --enable-clear-passwd=n 
--enable-libdir=/usr/include/mysql/

I was using the 5.2.1, but I thought that an upgrade would solve the 
problem, but it's not ! And now I have the version 5.3.30

any idea ?



Le 8 déc. 03, à 23:26, martin a écrit :

how did you set up the ./configure?   ./configure 
--enable-roaming-users=yes ?   ( I think that is the flag)  what 
version of Vpopmail are you using?  the one from below?

Arnaud BECKER wrote:

Could anyone help me please with my problems with the roaming user 
support.

please please
I don't know what to do to make it work well. I don't know where is 
the problem or error.



Le 8 déc. 03, à 11:57, Michael Bowe a écrit :

- Original Message -
From: [EMAIL PROTECTED]

Hello all

does vpopmail-5.3.30 has got any problems in supporting roaming 
users


The problems that were present in 5.3.29 have been resolved.
There are no known issues with the roaming user code in 5.3.30
Michael






.







Re: [vchkpw] roaming user for imap

2003-01-15 Thread Lars Gustafson
I had the same problem, as a lots of people has according to this list..
the solution, or let's say workaround, i came up with is pretty ugly.
but hey! it works.

First, i got the relay-ctrl package from www.qmail.org somewhere,
installed it by reading the docs shipped with it. made the needed
changes to the imap.rc/imap-ssl.rc (see docs)

What is needed to be modified is the qmails rcscript, making the
tcpserver to use the envdir binary (from the daemontools package, if you
dont use daemontols, download and compile it, and snip the binary from
the compiled sorce tree and put it in some reasonable path).
made the changes to your qmail start script (see the docs).

restart qmail and courier. now you will have a relay that allows roaming
users to realy unitil whatever you set the RELAY_CTRL_EXPIRY variable
to, defaults is 900 seconds i think.

next, the tricky part... i made up a simple shells script looking like
this. I guess it could be possible to add the ipaddresses the script get
into a sql or cdb batabase. anyways, this does the job. 


---

#!/bin/sh
#
# relay-ctrl-imap-tweek
#
# This script should be invoked from within roots crontab 
# instead of the relay-ctrl-age binary shipped with the 
# relay-ctrl package.
# 

# Where do we find the conf files for realy-ctrl?
$RLCDIR=/etc/relay­ctrl

# Enable _ONE_ of these
#PORT=143 # IMAP
PORT=993  # IMAPS

# Check what addreses are configured for relaying. 
# To end up in this list the client need to preform an
# authenticated login on the imap server.
for RELAY in `ls $RLCDIR/allow`; do

# First we need to find out what established conections we 
# have actually have.
# Let's sort them, and make sure we only get a single entry
# form each one, no matter how many connections we have from
# a single host, we just want it once.
NETS=`netstat --protocol=inet -n 2/dev/null \
| grep :$PORT | grep $RELAY \
| grep ESTABLISHED \
| awk '{print $5}' \
| awk -F: '{print $1}' \
| sort \
| uniq`

if [ $RELAY = $NETS ]; then
# _IF_ we have an establised connection on
# the right port, AND the address is configured 
# to allow realying, THEN we touches the file 
# in $RLCDIR/allow/, to increase the time the 
#client should be allowed to use our SMTP.
touch /var/qmail/relay-ctrl/allow/$NETS

# It might be handy to set some sane ownership
# and permissions on the file, making it possible 
# for the imap daemon to owerwrite them, if the 
# same ip conects again with another client. 
# Masquerading firewalls comes in mind here...
chown vpopmail.vchkpw /var/qmail/relay-ctrl/allow/$NETS
chmod 666 /var/qmail/relay-ctrl/allow/$NETS
fi

done

# Since this script is run every minute, it updates the 
# allowed relayhost just as often, we can safely set
# the value of $RLCDIR/RELAY_CTRL_EXPIRY to 300
# (seconds, 5 minutes). This will make it possible for
# the client host to send mails for 5 more minutes.
# You should not set this value to anything less,
# because some SMTP servers tries to preform auth/ident
# lookups of the sender (which most firewalls, as well 
# as mailservers reject nowadays anyway).
# Anyhow, i have been running this for about 5 mounts now,
# and there is no problem know with this settings, as long
# as the relay-ctrl is set up ok.

# Update the allowed relayhosts.
/usr/local/bin/envdir \
$RCLDIR/conf \
/usr/local/bin/relay-ctrl-age

#EOF
---







On Wed, 2003-01-15 at 00:29, Bill Shupp wrote:
 On Tuesday, January 14, 2003, at 03:25  PM, Andrew Kohlsmith wrote:
 
  That's a good point -- In my particular case authdaemon is not 
  updating the
  tcp.smtp.cdb file at all though.
 
 authdaemon does NOT pass the IP to vpopmail.  That's why you can't use 
 it if you want roaming IMAP users.
 
 Bill
 
 
-- 
i3 micro technology ab
Lars Gustafson
System Administrator
phone: +46(0)850638856
mobile:+46(0)708472037
[EMAIL PROTECTED]





[vchkpw] roaming user for imap

2003-01-14 Thread dkwok
I am sorry the question may be off topic.

I am running vpopmail and courier-imap, roaming with vpopmail works fine 
but for user using imap roaming does not work. I have searched any 
relevant info on this topic but it is rather scare. Would anyone point 
me to the right direction?

Many thanks in advance.

David Kwok




Re: [vchkpw] roaming user for imap

2003-01-14 Thread Ken Jones
On Tuesday 14 January 2003 01:51 pm, dkwok wrote:
 I am sorry the question may be off topic.

 I am running vpopmail and courier-imap, roaming with vpopmail works fine
 but for user using imap roaming does not work. I have searched any
 relevant info on this topic but it is rather scare. Would anyone point
 me to the right direction?

 Many thanks in advance.

 David Kwok

Here is a slice of code i put in authlib/preauthvchkpw.c

It handles both courier imap and courier pop3 users.
vpopmail has to be installed with roaming users first.

Not sure if this is in the lastest courier releases

Ken Jones

preauthvchkpw.c: 

if ( strcmp(webmail, (char *)service) == 0 
 vpw-pw_gid  NO_WEBMAIL ) {
return(-1);

} else if ( strcmp(pop3, (char *)service) == 0 ) {
if ( vpw-pw_gid  NO_POP ) {
return(-1);
} else {
#ifdef POP_AUTH_OPEN_RELAY
/* open the relay to pop users */
open_smtp_relay();
#endif
}
} else if ( strcmp(imap, (char *)service) == 0 ) {
if ( vpw-pw_gid  NO_IMAP ) {
return(-1);
} else {
#ifdef POP_AUTH_OPEN_RELAY
/* open the relay to imap users */
open_smtp_relay();
#endif
}
}





RE: [vchkpw] roaming user for imap

2003-01-14 Thread domi

Hi !!

I've seen this topic come up over and over again so
I finally decided to contribute to the thread...

I think the problem has most likely to do with IMAP
clients using persistent connections. When they first
login successfully vpopmail updates tcp.smtp.cdb file
and the user has open relay for one hour or whatever 
it is for timeout. But since the IMAP client uses 
persistant connection a new login procedure never takes
place and the old RELAYCLIENT flag times out.

Maybe this is not the case in Davids problem but
I want to give a hint anyway...
I know there is solution for this problem but I do not
remember the webaddress.

=d0Mi=

 
 I am sorry the question may be off topic.
 
 I am running vpopmail and courier-imap, roaming with vpopmail works fine 
 but for user using imap roaming does not work. I have searched any 
 relevant info on this topic but it is rather scare. Would anyone point 
 me to the right direction?
 
 Many thanks in advance.

 David Kwok






Re: [vchkpw] roaming user for imap

2003-01-14 Thread Andrew Kohlsmith
 I think the problem has most likely to do with IMAP
 clients using persistent connections. When they first
 login successfully vpopmail updates tcp.smtp.cdb file
 and the user has open relay for one hour or whatever
 it is for timeout. But since the IMAP client uses
 persistant connection a new login procedure never takes
 place and the old RELAYCLIENT flag times out.

That's a good point -- In my particular case authdaemon is not updating the 
tcp.smtp.cdb file at all though.

 Maybe this is not the case in Davids problem but
 I want to give a hint anyway...
 I know there is solution for this problem but I do not
 remember the webaddress.

A solution could be to revalidate the IP on any IMAP access, instead of just 
the initial login.

Regards,
Andrew




Re: [vchkpw] roaming user for imap

2003-01-14 Thread Bill Shupp
On Tuesday, January 14, 2003, at 03:25  PM, Andrew Kohlsmith wrote:


That's a good point -- In my particular case authdaemon is not 
updating the
tcp.smtp.cdb file at all though.

authdaemon does NOT pass the IP to vpopmail.  That's why you can't use 
it if you want roaming IMAP users.

Bill