[vchkpw] Re: smtp auth

2002-10-31 Thread Peter Palmreuther
Hello Lists,

On Thursday, October 31, 2002 at 2:37:43 AM you wrote:

 smtp auth is returning user unknown:
 Oct 30 15:59:27 query vpopmail[9465]: vchkpw-smtp: vpopmail user not found
 [EMAIL PROTECTED]:209.124.141.171

 startups are:
 /usr/bin/tcpserver -u 63 -g 65 -l -R -H 0 smtp /var/qmail/bin/qmail-smtpd \
  query.aptedtech.com /var/vpopmail/bin/vchkpw /bin/true 

Who's 'UID 63' and 'GID 65' on your system? User vpopmail? If not you
might simply have an access problem to 'vpasswd.cdb' as it's only
readable to root and vpopmail but not to qmaild, which is used in
default installations for starting up qmail-smtpd.

If you have enabled 'passwd' users as well in vpopmail configuration
you'll have to run qmail-smtpd as user root for being able to read
'/etc/passwd' and if existing '/etc/shadow', else you'll only need to
run qmail-smtpd as UID/GID vpopmail/vchkpw.

HTH Pit
-- 
Best regards
Peter Palmreuther





[vchkpw] vqregister mysql insert don't work

2002-10-31 Thread Chris

my vqregister 2.6 installation is fine on Linux 7.2 platform. we can signup
new email address and receive the verify email. but it just don't insert the
data into my mysql table. my mysql table use the default field name and the
connection is fine.

mysql select * from user_info;
+--+--+--++---+
| user | dom  | pass | cemail | fname |

it's the mysql function not yet complete? any tips to enable this data
collection features? thanks

 
   Chris





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 3:45 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
 
 Do these two work fine together?
 Is there a special howto to follow?
 
 They work file together.  Remember to su to the vpopmail user before
 running ezmlm-make, otherwise you will have to chown -R the list dir
 to vpopmail.vchkpw.
Thanks for the hint. If I do

$ su vpopmail
And then
$ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list
yweseelocal.com

I get access denied.

Thanks for any help and hints.

Zeno





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 3:45 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
 
 Do these two work fine together?
 Is there a special howto to follow?
 
 They work file together.  Remember to su to the vpopmail user before
 running ezmlm-make, otherwise you will have to chown -R the list dir
 to vpopmail.vchkpw.
Done this.

Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
reply that the user [EMAIL PROTECTED] does not exist.

Am I missing something here? Should emlmz create that user?

Thanks for any help an hints.

Zeno





[vchkpw] IMAP + vipmap

2002-10-31 Thread Andre Fortin
Hi,

I have --enable-ip-alias-domains=y, and vipmap for a domain working fine via
pop3 using vchkpw.  I have courier-imapd running, and authvchkpw is being
used.  Should authvchkpw understand IP alias maps?

I've noticed this question has been asked before, but I don't see an answer
in the archives.. anyone have any more information?


-
Andre Fortin, CCNA
Systems Administrator Technician
Persona Communications, Northern Division
500 Barrydowne Rd.
Sudbury, Ontario
[EMAIL PROTECTED]
Tel.: (705)560-1560 ext. 266






Re: [vchkpw] IMAP + vipmap

2002-10-31 Thread Bill Shupp
On Thursday, October 31, 2002, at 07:27  AM, Andre Fortin wrote:


Hi,

I have --enable-ip-alias-domains=y, and vipmap for a domain working 
fine via
pop3 using vchkpw.  I have courier-imapd running, and authvchkpw is 
being
used.  Should authvchkpw understand IP alias maps?

I've noticed this question has been asked before, but I don't see an 
answer
in the archives.. anyone have any more information?

I posted a patch to vpopmail.c last week.  Should be in the archives 
somewhere.

Bill




Re: [vchkpw] IMAP + vipmap

2002-10-31 Thread Rick Macdougall
Hi,

Bill Shupp has a patch to fix the problem.  Courier is send IPv6 instead of
IPv4, so the vipmap doesn't work.  I don't think it's in the archives
because I think he sent it directly to me.  I've included it below to make
sure it gets in this time.  (Thanks Bill!!!, hope you enjoyed that virtual
beer!)

Patches cleanly against 5.3.11 but I had to add it manually to 5.3.8

--- ../vpopmail-5.3.11/vpopmail.c   Wed Oct 23 13:01:40 2002
+++ vpopmail.c  Thu Oct 24 17:38:40 2002
@@ -1668,6 +1668,14 @@

  #ifdef IP_ALIAS_DOMAINS
tmpstr = getenv(TCPLOCALIP);
+
+  /* courier-imap uses IPv6 */
+  if ( tmpstr != NULL   tmpstr[0] == ':') {
+tmpstr +=2;
+while(*tmpstr!=':') ++tmpstr;
+++tmpstr;
+  }
+
memset(host,0,156);
if ( vget_ip_map(tmpstr,host,156)==0  !host_in_locals(host)){
  if ( strlen(host)  0 ) {


Regards,

Rick

- Original Message -
From: Andre Fortin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 10:27 AM
Subject: [vchkpw] IMAP + vipmap


Hi,

I have --enable-ip-alias-domains=y, and vipmap for a domain working fine via
pop3 using vchkpw.  I have courier-imapd running, and authvchkpw is being
used.  Should authvchkpw understand IP alias maps?

I've noticed this question has been asked before, but I don't see an answer
in the archives.. anyone have any more information?


-
Andre Fortin, CCNA
Systems Administrator Technician
Persona Communications, Northern Division
500 Barrydowne Rd.
Sudbury, Ontario
[EMAIL PROTECTED]
Tel.: (705)560-1560 ext. 266








Re: [vchkpw] IMAP + vipmap

2002-10-31 Thread Bill Shupp
On Thursday, October 31, 2002, at 07:51  AM, Andre Fortin wrote:


Heya..

I'm using 5.2.1 still..  I used the code I got from Rick on the list 
and put
it into vpopmail.c .. The section in question now looks like this:

#ifdef IP_ALIAS_DOMAINS
tmpstr = getenv(TCPLOCALIP);

  /* courier-imap uses IPv6 */
  if ( tmpstr != NULL   tmpstr[0] == ':') {
tmpstr +=2;
while(*tmpstr!=':') ++tmpstr;
++tmpstr;
  }


memset(host,0,156);
if ( vget_ip_map(tmpstr,host,156)==0  !host_in_locals(host)){
if ( strlen(host)  0 ) {
strncpy( domain, host, 156 );
}
return;
}
#endif


Does this look ok? I re-compiled/make install'd vpopmail, but the 
vipmaps
still dont seem to be working.. Maybe I'm missing something obvious.. 
Let me
know if you see any problems with the way i put the code in, thanks :)

You need to recompile courier imap.  Please keep posts on the list.

Regards,

Bill Shupp





[vchkpw] Password retrieval?

2002-10-31 Thread Nick Lomonte
Is there a way to extract cleartext passwords from vpasswd files?

I'm moving virtual domains from an older server (vpopmail) to a newer
one (vpopmail+mysql).  Whats the best way to do this, without having to
have customers reset all of their passwords?



-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700





RE: [vchkpw] IMAP + vipmap

2002-10-31 Thread Andre Fortin
I've recompiled courier-imap, but I'm still getting the same results.. Is
there anything special I need to do when compiling/configuring it?

Andre

-Original Message-
From: Bill Shupp [mailto:hostmaster;shupp.org]
Sent: Thursday, October 31, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] IMAP + vipmap


On Thursday, October 31, 2002, at 07:51  AM, Andre Fortin wrote:

 Heya..

 I'm using 5.2.1 still..  I used the code I got from Rick on the list
 and put
 it into vpopmail.c .. The section in question now looks like this:

 #ifdef IP_ALIAS_DOMAINS
 tmpstr = getenv(TCPLOCALIP);

   /* courier-imap uses IPv6 */
   if ( tmpstr != NULL   tmpstr[0] == ':') {
 tmpstr +=2;
 while(*tmpstr!=':') ++tmpstr;
 ++tmpstr;
   }


 memset(host,0,156);
 if ( vget_ip_map(tmpstr,host,156)==0  !host_in_locals(host)){
 if ( strlen(host)  0 ) {
 strncpy( domain, host, 156 );
 }
 return;
 }
 #endif


 Does this look ok? I re-compiled/make install'd vpopmail, but the
 vipmaps
 still dont seem to be working.. Maybe I'm missing something obvious..
 Let me
 know if you see any problems with the way i put the code in, thanks :)

You need to recompile courier imap.  Please keep posts on the list.

Regards,

Bill Shupp







RE: [vchkpw] Password retrieval?

2002-10-31 Thread Clayton Weise
There's actually a vconvert tool that is designed to convert from one
authentication method to antother (e.g. cdb to mysql).

http://inter7.com/vpopmail/doc/vconvert.html

-Clayton

-Original Message-
From: Nick Lomonte [mailto:nick;eonet.net]
Sent: Thursday, October 31, 2002 8:40 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Password retrieval?


Is there a way to extract cleartext passwords from vpasswd files?

I'm moving virtual domains from an older server (vpopmail) to a newer
one (vpopmail+mysql).  Whats the best way to do this, without having to
have customers reset all of their passwords?



--
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700







RE: [vchkpw] Password retrieval?

2002-10-31 Thread Tren Blackburn
Another option is to turn on learn passwords.  I've had great success
with this, however it only works for POP authentication.

Regards,

Tren

-Original Message-
From: Clayton Weise [mailto:clayton;iswest.net] 
Sent: Thursday, October 31, 2002 9:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Password retrieval?


There's actually a vconvert tool that is designed to convert from one
authentication method to antother (e.g. cdb to mysql).

http://inter7.com/vpopmail/doc/vconvert.html

-Clayton

-Original Message-
From: Nick Lomonte [mailto:nick;eonet.net]
Sent: Thursday, October 31, 2002 8:40 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Password retrieval?


Is there a way to extract cleartext passwords from vpasswd files?

I'm moving virtual domains from an older server (vpopmail) to a newer
one (vpopmail+mysql).  Whats the best way to do this, without having to
have customers reset all of their passwords?



--
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700










RE: [vchkpw] Password retrieval?

2002-10-31 Thread Nick Lomonte
Thanks, that should be helpful, but when I add the domain to the new box
I'm pretty sure the directory structure will be slightly different than
the old one.  I'm not sure how to compensate for that



On Thu, 2002-10-31 at 10:53, Clayton Weise wrote:
 There's actually a vconvert tool that is designed to convert from one
 authentication method to antother (e.g. cdb to mysql).
 
 http://inter7.com/vpopmail/doc/vconvert.html
 
 -Clayton
 
 -Original Message-
 From: Nick Lomonte [mailto:nick;eonet.net]
 Sent: Thursday, October 31, 2002 8:40 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Password retrieval?
 
 
 Is there a way to extract cleartext passwords from vpasswd files?
 
 I'm moving virtual domains from an older server (vpopmail) to a newer
 one (vpopmail+mysql).  Whats the best way to do this, without having to
 have customers reset all of their passwords?
 
 
 
 --
 Nick Lomonte
 Network Engineer
 Eonet
 [EMAIL PROTECTED]
 409.833.1700
 
 
 
 
 
-- 
Nick Lomonte
Network Engineer
Eonet
[EMAIL PROTECTED]
409.833.1700





RE: [vchkpw] Re: smtp auth

2002-10-31 Thread Lists @ Apted Technologies Inc.
your right.  users were not vpopmail/vchkpw.  working perfectly now.  thanks
peter.

-chris

-Original Message-
From: Peter Palmreuther [mailto:lists;pitpalme.de]
Sent: Wednesday, October 30, 2002 11:02 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Re: smtp auth


Hello Lists,

On Thursday, October 31, 2002 at 2:37:43 AM you wrote:

 smtp auth is returning user unknown:
 Oct 30 15:59:27 query vpopmail[9465]: vchkpw-smtp: vpopmail user not found
 [EMAIL PROTECTED]:209.124.141.171

 startups are:
 /usr/bin/tcpserver -u 63 -g 65 -l -R -H 0 smtp /var/qmail/bin/qmail-smtpd
\
  query.aptedtech.com /var/vpopmail/bin/vchkpw /bin/true 

Who's 'UID 63' and 'GID 65' on your system? User vpopmail? If not you
might simply have an access problem to 'vpasswd.cdb' as it's only
readable to root and vpopmail but not to qmaild, which is used in
default installations for starting up qmail-smtpd.

If you have enabled 'passwd' users as well in vpopmail configuration
you'll have to run qmail-smtpd as user root for being able to read
'/etc/passwd' and if existing '/etc/shadow', else you'll only need to
run qmail-smtpd as UID/GID vpopmail/vchkpw.

HTH Pit
--
Best regards
Peter Palmreuther







Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Cory Wright
On Thu, Oct 31, 2002 at 02:00:32PM +0100, Zeno Davatz wrote:

[From a different post]
 $ su vpopmail
 And then
 $ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list 
yweseelocal.com

[Previous post]
 Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
 reply that the user [EMAIL PROTECTED] does not exist.

Zeno,

This is not a flame, but before you post this to the list, stop and think 
about what is actually happening.

First, you switched to the 'vpopmail' user, which is what you were supposed 
to do.

Next you ran the ezmlm-make command with several arguments that start
with ~/ .  You seem to know what ~/ implies, so think about this a little
and expand it.  ~/list is a shortcut for /home/vpopmail/list (assuming
your vpopmail home directory is /home/vpopmail).  Also, ~/.qmail-list
becomes /home/vpopmail/.qmail-list , correct?

So, you can see that this list is really setup like the following:

ezmlm-make [options] /home/vpopmail/list \
 /home/vpopmail/.qmail-list \
 info-list \
 yweseelocal.com

Are things getting clearer now?  If not, what you most likely want is:

ezmlm-make [options] /home/vpopmail/domains/yweseelocal.com/list \
 /home/vpopmail/domains/yweseelocal.com/.qmail-list \
 list  \
 yweseelocal.com

Good Luck,

Cory Wright




[vchkpw] quota?

2002-10-31 Thread Thomas Yuen
anyone had updated the  vqmaillocal.c  to enable the quota support for
qmail-local? if your patch isn't free of charge please give us a quote and
the payment method. we need this path within 2 weeks. Many thanks.


Thomas.





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 22:24 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Thu, Oct 31, 2002 at 02:00:32PM +0100, Zeno Davatz wrote:
 
 [From a different post]
 $ su vpopmail
 And then
 $ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list
 yweseelocal.com
 
 [Previous post]
 Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
 reply that the user [EMAIL PROTECTED] does not exist.
 
 Zeno,
 
 This is not a flame, but before you post this to the list, stop and think
 about what is actually happening.
I am trying my best.

 First, you switched to the 'vpopmail' user, which is what you were supposed
 to do.
Yes correct.

 Next you ran the ezmlm-make command with several arguments that start
 with ~/ .  You seem to know what ~/ implies, so think about this a little
 and expand it.  ~/list is a shortcut for /home/vpopmail/list (assuming
 your vpopmail home directory is /home/vpopmail).  Also, ~/.qmail-list
 becomes /home/vpopmail/.qmail-list , correct?
Yes. Got that.

 So, you can see that this list is really setup like the following:
 
 ezmlm-make [options] /home/vpopmail/list \
/home/vpopmail/.qmail-list \
info-list \
yweseelocal.com
Yes they are clearer now. My list is actually up an running.

Thanks for your kind help.

Zeno