LDAP

2001-09-14 Thread Sumith Ail

Hello List / Vol / Ken

I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1. 
With the help that I've got from the archives of the list, this is what 
I've included in slapd.conf file.

include /etc/openldap/schema/qmail.schema

databaseldbm
suffix  o=itisl
suffix  dc=itisl,dc=net
rootdn  cn=Sumith,dc=itisl,dc=net
rootpw  password
directory   /var/lib/ldap/itisl
defaultaccess   read
schemacheck on
lastmod on

in qmail.schema file

objectclass qmailUser
   requires
 objectClass,
 name,
 uid,
 qmailGID,
 qmailUID,
 qmaildomain,
 userPassword,
 mailQuota,
 mailMessageStore

in vldap.h 

#ifndef VPOPMAIL_LDAP_H
#define VPOPMAIL_LDAP_H

#undef OLD_VLDAP

#define VLDAP_SERVER localhost
#define VLDAP_PORT 389
#define VLDAP_USER cn=Sumith, dc=itisl, dc=net
#define VLDAP_PASSWORD password

#ifdef OLD_VLDAP
  #define VLDAP_BASEDN ou=Subs, o=Inter7
#else
  #define VLDAP_BASEDN ou=%s, o=Inter7
#endif

static char *vldap_attrs[] = {
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore, 
  NULL
};
#endif

Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir 
to vpopmail/users error.

The errors that I see in OpenLDAP logs are...
Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line 
11: old objectclass format not supported.

Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl, 
dc=net to cn=Sumith,dc=itisl,dc=net
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11 
(Resource temporarily unavailable)

ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
Sep 13 14:55:46 leo slapd[2029]: 0 0 0
Sep 13 14:55:46 leo slapd[2029]: begin get_filter
Sep 13 14:55:46 leo slapd[2029]: EQUALITY
Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
Sep 13 14:55:46 leo slapd[2029]: attrs:
Sep 13 14:55:46 leo slapd[2029]:  name
Sep 13 14:55:46 leo slapd[2029]:  uid
Sep 13 14:55:46 leo slapd[2029]:  qmailGID
Sep 13 14:55:46 leo slapd[2029]:  qmailUID
Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
Sep 13 14:55:46 leo slapd[2029]:  userPassword
Sep 13 14:55:46 leo slapd[2029]:  mailQuota
Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
Sep 13 14:55:46 leo slapd[2029]: 
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com, 
o=Inter7 scope=2 filter=(objectClass=qmailUser)
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=2 tag=101 err=32
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 RESULT tag=101 err=32 text=
Sep 13 14:55:46 leo slapd[2029]: do_delete
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=2 DEL dn=ou=test3.com, 
o=Inter7
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=2 p=2
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=3 tag=107 err=32
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=2 RESULT tag=107 err=32 text=
Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11 
(Resource temporarily unavailable)

Would appreciate any pointers from people who have had success in making 
OpenLDAP 2.x to work with Vpopmail. Once this is done I promise to 
submit a detail HOWTO on VPOPMAIL+LDAP to the List. Meanwhile I'll 
continue reading OpenLDAP docs.

Regards
Sumith Ail




vqregister installation doc.

2001-09-14 Thread bunk

Where can I find Installation document for vqregister 2.5 or 2.6? If there isn't any, 
would anybody give me a brief description what to do after untar the source ?

regards,
bunk





Re: LDAP

2001-09-14 Thread vol

There's a lot going on with the LDAP configuration.
First of all.  Your suffix must be contained within the VLDAP_BASEDN.

 #define VLDAP_BASEDN ou=%s, o=Inter7

Your suffix should read:

suffix  o=Inter7

If you don't want the o=Inter7, you must create your own schemas.
The o, and ou were used because they are standard with OpenLDAP,
and very little configuration-time would be needed (I thought anyway).

Lastly, you must create your suffix.

bash$ cat  file
dn: o=Inter7
o: Inter7
objectclass: organization

bash$ cat file | ldapinsert
bash$

Again, to everyone.  The LDAP module does function properly, it's just
a real pain to configure.  Second, we're not all too thrilled with
LDAP anyway, and we always suggest another database.  If you feel
you're stuck with LDAP because you have an LDAP user-base from another
mail system, then you have no idea how right you are.  Converting
between two different email LDAP database schemas is incredibly
difficult and time consuming.

That's it! :)

Good luck to everyone still willing to give the LDAP module a shot.

Sumith Ail wrote:
 
 Hello List / Vol / Ken
 
 I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1.
 With the help that I've got from the archives of the list, this is what
 I've included in slapd.conf file.
 
 include /etc/openldap/schema/qmail.schema
 
 databaseldbm
 suffix  o=itisl
 suffix  dc=itisl,dc=net
 rootdn  cn=Sumith,dc=itisl,dc=net
 rootpw  password
 directory   /var/lib/ldap/itisl
 defaultaccess   read
 schemacheck on
 lastmod on
 
 in qmail.schema file
 
 objectclass qmailUser
requires
  objectClass,
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore
 
 in vldap.h 
 
 #ifndef VPOPMAIL_LDAP_H
 #define VPOPMAIL_LDAP_H
 
 #undef OLD_VLDAP
 
 #define VLDAP_SERVER localhost
 #define VLDAP_PORT 389
 #define VLDAP_USER cn=Sumith, dc=itisl, dc=net
 #define VLDAP_PASSWORD password
 
 #ifdef OLD_VLDAP
   #define VLDAP_BASEDN ou=Subs, o=Inter7
 #else
   #define VLDAP_BASEDN ou=%s, o=Inter7
 #endif
 
 static char *vldap_attrs[] = {
   name,
   uid,
   qmailGID,
   qmailUID,
   qmaildomain,
   userPassword,
   mailQuota,
   mailMessageStore,
   NULL
 };
 #endif
 
 Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir
 to vpopmail/users error.
 
 The errors that I see in OpenLDAP logs are...
 Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line
 11: old objectclass format not supported.
 
 Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl,
 dc=net to cn=Sumith,dc=itisl,dc=net
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
 Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
 (Resource temporarily unavailable)
 
 ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
 Sep 13 14:55:46 leo slapd[2029]: 0 0 0
 Sep 13 14:55:46 leo slapd[2029]: begin get_filter
 Sep 13 14:55:46 leo slapd[2029]: EQUALITY
 Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
 Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: attrs:
 Sep 13 14:55:46 leo slapd[2029]:  name
 Sep 13 14:55:46 leo slapd[2029]:  uid
 Sep 13 14:55:46 leo slapd[2029]:  qmailGID
 Sep 13 14:55:46 leo slapd[2029]:  qmailUID
 Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
 Sep 13 14:55:46 leo slapd[2029]:  userPassword
 Sep 13 14:55:46 leo slapd[2029]:  mailQuota
 Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
 Sep 13 14:55:46 leo slapd[2029]:
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com,
 o=Inter7 scope=2 filter=(objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=2 tag=101 err=32
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 RESULT tag=101 err=32 text=
 Sep 13 14:55:46 leo slapd[2029]: do_delete
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=2 DEL dn=ou=test3.com,
 o=Inter7
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=2 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=3 tag=107 err=32
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=2 RESULT tag=107 err=32 text=
 Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
 (Resource temporarily unavailable)
 
 Would appreciate any pointers from people who have had success in making
 OpenLDAP 2.x to work with Vpopmail. Once this is done I 

Re: vqregister installation doc.

2001-09-14 Thread vol

Hmm..  After I finished the base code, Ken Jones the main
vpopmail developer picked up work on vqregister to make it
work with the latest vpopmails.  I guess he didn't find time
to add a configure script.

Here's how to install vQregister in short.  If you don't have
any real package experience, you may not be able to complete this.

First, open up Makefile.  If you're running MySQL, you're going
to need to add the path to your mysqlclient library directory,
and add the -lmysqlclient flag to LIBS.

Edit the INSTALL_* definitions as well.  They say where your
webserver cgi-bin directory is, etc.

For a system without MySQL, with Apache cgi-bin in
/usr/local/apache/cgi-bin here's your Makefile with a few
comments added in.  Comments begin with #.  Please be sure to read the
blurb after the end of
 the Makefile.

-- CUT --

#
# [EMAIL PROTECTED]
#

# vpopmail homedir
VDIR = /home/vpopmail

# compiler to use
CC = gcc

# cgi binary name
BIN = vqregister

DEFS = -I$(VDIR)/include
LINKDEFS =

# You may, or may not need -lcrypt.  It will say -lcrypt wasnt
# found, if you dont need it.
LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt
OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
password.o vpopmail.o db.o field.o badhosts.o

INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
INSTALL_BIN = vqregister.cgi
INSTALL_UID = vpopmail
INSTALL_GID = vchkpw

all: $(BIN)

$(BIN): $(OBJS)
$(CC) $(LINKDEFS) -o $(BIN) $(OBJS) $(LIBS)

main.o: main.c global.h
$(CC) $(DEFS) -o main.o -c main.c
cgi.o: cgi.c global.h
$(CC) $(DEFS) -o cgi.o -c cgi.c
template.o: template.c global.h
$(CC) $(DEFS) -o template.o -c template.c
global.o: global.c global.h
$(CC) $(DEFS) -o global.o -c global.c
misc.o: misc.c global.h
$(CC) $(DEFS) -o misc.o -c misc.c
config.o: config.c global.h field.h
$(CC) $(DEFS) -o config.o -c config.c
register.o: register.c global.h
$(CC) $(DEFS) -o register.o -c register.c
password.o: password.c global.h
$(CC) $(DEFS) -o password.o -c password.c
vpopmail.o: vpopmail.c global.h
$(CC) $(DEFS) -o vpopmail.o -c vpopmail.c
db.o: db.c global.h db.h
$(CC) $(DEFS) -o db.o -c db.c
field.o: field.c global.h field.h db_misc.h
$(CC) $(DEFS) -o field.o -c field.c
badhosts.o: badhosts.c global.h
$(CC) $(DEFS) -o badhosts.o -c badhosts.c

install: $(BIN)
@echo Installing...
mkdir -p $(INSTALL_DIR)
mkdir -p $(INSTALL_DIR)/html
cp $(BIN) $(INSTALL_DIR)/$(INSTALL_BIN)
cp html/* $(INSTALL_DIR)/html
cp vqregister.email $(INSTALL_DIR)
cp vqregister.conf $(INSTALL_DIR)
chown -R $(INSTALL_UID) $(INSTALL_DIR)
chgrp -R $(INSTALL_GID) $(INSTALL_DIR)
chmod u+s $(INSTALL_DIR)/$(INSTALL_BIN)

clean:
@echo -n Cleaning up...
@rm -rf *.core core $(BIN) *.o db.c db.h
@ln -s db_null.c db.c
@ln -s db_null.h db.h
@echo done.

- CUT --

I probably should have attached this, but I'm feeling a little worn down
tonight.
Any lines that appear to have a lot of spaces, or tabs in front of them,
example:

clean:

stuff
more stuff

Those need to be tabs.  If they aren't tabs.  the make command will
fail.

To compile, type 'make'.
To install, type 'make install'.

You should then be able to go to
http://www.your-server.com/cgi-bin/vqregister/vqregister.cgi

Configurations should be made to
/usr/local/apache/cgi-bin/vqregister/vqregister.conf

Hope that helps someone.

[EMAIL PROTECTED] wrote:
 
 Where can I find Installation document for vqregister 2.5 or 2.6? If there isn't 
any, would anybody give me a brief description what to do after untar the source ?
 
 regards,
 bunk

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices



Re: LDAP

2001-09-14 Thread Sumith Ail

Hello Vol

I understand configuring LDAP is a pain. Is there an alternative in 
Vpopmail for people who require Global Address Book.

Also, If at all I succeed in getting LDAP database to work  will the 
Global Address book be available.

I'd like to hear from people who are using VPOPMAIL+LDAP in production 
environment.

Regards
Sumith


[EMAIL PROTECTED] wrote:

 There's a lot going on with the LDAP configuration.
 First of all.  Your suffix must be contained within the VLDAP_BASEDN.
 
 #define VLDAP_BASEDN ou=%s, o=Inter7
 
 
 Your suffix should read:
 
 suffix  o=Inter7
 
 If you don't want the o=Inter7, you must create your own schemas.
 The o, and ou were used because they are standard with OpenLDAP,
 and very little configuration-time would be needed (I thought anyway).
 
 Lastly, you must create your suffix.
 
 bash$ cat  file
 dn: o=Inter7
 o: Inter7
 objectclass: organization
 
 bash$ cat file | ldapinsert
 bash$
 
 Again, to everyone.  The LDAP module does function properly, it's just
 a real pain to configure.  Second, we're not all too thrilled with
 LDAP anyway, and we always suggest another database.  If you feel
 you're stuck with LDAP because you have an LDAP user-base from another
 mail system, then you have no idea how right you are.  Converting
 between two different email LDAP database schemas is incredibly
 difficult and time consuming.
 
 That's it! :)
 
 Good luck to everyone still willing to give the LDAP module a shot.
 
 Sumith Ail wrote:
 
 Hello List / Vol / Ken
 
 I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1.
 With the help that I've got from the archives of the list, this is what
 I've included in slapd.conf file.
 
 include /etc/openldap/schema/qmail.schema
 
 databaseldbm
 suffix  o=itisl
 suffix  dc=itisl,dc=net
 rootdn  cn=Sumith,dc=itisl,dc=net
 rootpw  password
 directory   /var/lib/ldap/itisl
 defaultaccess   read
 schemacheck on
 lastmod on
 
 in qmail.schema file
 
 objectclass qmailUser
requires
  objectClass,
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore
 
 in vldap.h 
 
 #ifndef VPOPMAIL_LDAP_H
 #define VPOPMAIL_LDAP_H
 
 #undef OLD_VLDAP
 
 #define VLDAP_SERVER localhost
 #define VLDAP_PORT 389
 #define VLDAP_USER cn=Sumith, dc=itisl, dc=net
 #define VLDAP_PASSWORD password
 
 #ifdef OLD_VLDAP
   #define VLDAP_BASEDN ou=Subs, o=Inter7
 #else
   #define VLDAP_BASEDN ou=%s, o=Inter7
 #endif
 
 static char *vldap_attrs[] = {
   name,
   uid,
   qmailGID,
   qmailUID,
   qmaildomain,
   userPassword,
   mailQuota,
   mailMessageStore,
   NULL
 };
 #endif
 
 Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir
 to vpopmail/users error.
 
 The errors that I see in OpenLDAP logs are...
 Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line
 11: old objectclass format not supported.
 
 Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl,
 dc=net to cn=Sumith,dc=itisl,dc=net
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
 Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
 (Resource temporarily unavailable)
 
 ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
 Sep 13 14:55:46 leo slapd[2029]: 0 0 0
 Sep 13 14:55:46 leo slapd[2029]: begin get_filter
 Sep 13 14:55:46 leo slapd[2029]: EQUALITY
 Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
 Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: attrs:
 Sep 13 14:55:46 leo slapd[2029]:  name
 Sep 13 14:55:46 leo slapd[2029]:  uid
 Sep 13 14:55:46 leo slapd[2029]:  qmailGID
 Sep 13 14:55:46 leo slapd[2029]:  qmailUID
 Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
 Sep 13 14:55:46 leo slapd[2029]:  userPassword
 Sep 13 14:55:46 leo slapd[2029]:  mailQuota
 Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
 Sep 13 14:55:46 leo slapd[2029]:
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com,
 o=Inter7 scope=2 filter=(objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=2 tag=101 err=32
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 RESULT tag=101 err=32 text=
 Sep 13 14:55:46 leo slapd[2029]: do_delete
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=2 DEL dn=ou=test3.com,
 o=Inter7
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=2 p=2
 Sep 13 14:55:46 leo slapd[2029]: 

Re: LDAP

2001-09-14 Thread vol

Global Address book for... SqWebMail?
Or is that some software that sits on top of LDAP servers?

Sumith Ail wrote:
 
 Hello Vol
 
 I understand configuring LDAP is a pain. Is there an alternative in
 Vpopmail for people who require Global Address Book.
 
 Also, If at all I succeed in getting LDAP database to work  will the
 Global Address book be available.
 
 I'd like to hear from people who are using VPOPMAIL+LDAP in production
 environment.
 
 Regards
 Sumith
 
 [EMAIL PROTECTED] wrote:
 
  There's a lot going on with the LDAP configuration.
  First of all.  Your suffix must be contained within the VLDAP_BASEDN.
 
  #define VLDAP_BASEDN ou=%s, o=Inter7
 
 
  Your suffix should read:
 
  suffix  o=Inter7
 
  If you don't want the o=Inter7, you must create your own schemas.
  The o, and ou were used because they are standard with OpenLDAP,
  and very little configuration-time would be needed (I thought anyway).
 
  Lastly, you must create your suffix.
 
  bash$ cat  file
  dn: o=Inter7
  o: Inter7
  objectclass: organization
 
  bash$ cat file | ldapinsert
  bash$
 
  Again, to everyone.  The LDAP module does function properly, it's just
  a real pain to configure.  Second, we're not all too thrilled with
  LDAP anyway, and we always suggest another database.  If you feel
  you're stuck with LDAP because you have an LDAP user-base from another
  mail system, then you have no idea how right you are.  Converting
  between two different email LDAP database schemas is incredibly
  difficult and time consuming.
 
  That's it! :)
 
  Good luck to everyone still willing to give the LDAP module a shot.
 
  Sumith Ail wrote:
 
  Hello List / Vol / Ken
 
  I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1.
  With the help that I've got from the archives of the list, this is what
  I've included in slapd.conf file.
 
  include /etc/openldap/schema/qmail.schema
 
  databaseldbm
  suffix  o=itisl
  suffix  dc=itisl,dc=net
  rootdn  cn=Sumith,dc=itisl,dc=net
  rootpw  password
  directory   /var/lib/ldap/itisl
  defaultaccess   read
  schemacheck on
  lastmod on
 
  in qmail.schema file
 
  objectclass qmailUser
 requires
   objectClass,
   name,
   uid,
   qmailGID,
   qmailUID,
   qmaildomain,
   userPassword,
   mailQuota,
   mailMessageStore
 
  in vldap.h 
 
  #ifndef VPOPMAIL_LDAP_H
  #define VPOPMAIL_LDAP_H
 
  #undef OLD_VLDAP
 
  #define VLDAP_SERVER localhost
  #define VLDAP_PORT 389
  #define VLDAP_USER cn=Sumith, dc=itisl, dc=net
  #define VLDAP_PASSWORD password
 
  #ifdef OLD_VLDAP
#define VLDAP_BASEDN ou=Subs, o=Inter7
  #else
#define VLDAP_BASEDN ou=%s, o=Inter7
  #endif
 
  static char *vldap_attrs[] = {
name,
uid,
qmailGID,
qmailUID,
qmaildomain,
userPassword,
mailQuota,
mailMessageStore,
NULL
  };
  #endif
 
  Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir
  to vpopmail/users error.
 
  The errors that I see in OpenLDAP logs are...
  Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line
  11: old objectclass format not supported.
 
  Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl,
  dc=net to cn=Sumith,dc=itisl,dc=net
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
  Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
  Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
  (Resource temporarily unavailable)
 
  ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
  Sep 13 14:55:46 leo slapd[2029]: 0 0 0
  Sep 13 14:55:46 leo slapd[2029]: begin get_filter
  Sep 13 14:55:46 leo slapd[2029]: EQUALITY
  Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
  Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
  Sep 13 14:55:46 leo slapd[2029]: attrs:
  Sep 13 14:55:46 leo slapd[2029]:  name
  Sep 13 14:55:46 leo slapd[2029]:  uid
  Sep 13 14:55:46 leo slapd[2029]:  qmailGID
  Sep 13 14:55:46 leo slapd[2029]:  qmailUID
  Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
  Sep 13 14:55:46 leo slapd[2029]:  userPassword
  Sep 13 14:55:46 leo slapd[2029]:  mailQuota
  Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
  Sep 13 14:55:46 leo slapd[2029]:
  Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com,
  o=Inter7 scope=2 filter=(objectClass=qmailUser)
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
  Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=2 tag=101 err=32
  Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 RESULT tag=101 err=32 

Re: LDAP

2001-09-14 Thread Christian Wiese

Hi All,

I think, there should be no Problem with Global Address book with 
clients like Netscape or the new Mozilla. Both have LDAP capable
address books, and we're using it successfully openldap and qmail-ldap.


Greetings

Christian


[EMAIL PROTECTED] wrote:

Global Address book for... SqWebMail?
Or is that some software that sits on top of LDAP servers?

Sumith Ail wrote:

Hello Vol

I understand configuring LDAP is a pain. Is there an alternative in
Vpopmail for people who require Global Address Book.

Also, If at all I succeed in getting LDAP database to work  will the
Global Address book be available.

I'd like to hear from people who are using VPOPMAIL+LDAP in production
environment.

Regards
Sumith

[EMAIL PROTECTED] wrote:

There's a lot going on with the LDAP configuration.
First of all.  Your suffix must be contained within the VLDAP_BASEDN.

#define VLDAP_BASEDN ou=%s, o=Inter7


Your suffix should read:

suffix  o=Inter7

If you don't want the o=Inter7, you must create your own schemas.
The o, and ou were used because they are standard with OpenLDAP,
and very little configuration-time would be needed (I thought anyway).

Lastly, you must create your suffix.

bash$ cat  file
dn: o=Inter7
o: Inter7
objectclass: organization

bash$ cat file | ldapinsert
bash$

Again, to everyone.  The LDAP module does function properly, it's just
a real pain to configure.  Second, we're not all too thrilled with
LDAP anyway, and we always suggest another database.  If you feel
you're stuck with LDAP because you have an LDAP user-base from another
mail system, then you have no idea how right you are.  Converting
between two different email LDAP database schemas is incredibly
difficult and time consuming.

That's it! :)

Good luck to everyone still willing to give the LDAP module a shot.

Sumith Ail wrote:

Hello List / Vol / Ken

I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1.
With the help that I've got from the archives of the list, this is what
I've included in slapd.conf file.

include /etc/openldap/schema/qmail.schema

databaseldbm
suffix  o=itisl
suffix  dc=itisl,dc=net
rootdn  cn=Sumith,dc=itisl,dc=net
rootpw  password
directory   /var/lib/ldap/itisl
defaultaccess   read
schemacheck on
lastmod on

in qmail.schema file

objectclass qmailUser
   requires
 objectClass,
 name,
 uid,
 qmailGID,
 qmailUID,
 qmaildomain,
 userPassword,
 mailQuota,
 mailMessageStore

in vldap.h 

#ifndef VPOPMAIL_LDAP_H
#define VPOPMAIL_LDAP_H

#undef OLD_VLDAP

#define VLDAP_SERVER localhost
#define VLDAP_PORT 389
#define VLDAP_USER cn=Sumith, dc=itisl, dc=net
#define VLDAP_PASSWORD password

#ifdef OLD_VLDAP
  #define VLDAP_BASEDN ou=Subs, o=Inter7
#else
  #define VLDAP_BASEDN ou=%s, o=Inter7
#endif

static char *vldap_attrs[] = {
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore,
  NULL
};
#endif

Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir
to vpopmail/users error.

The errors that I see in OpenLDAP logs are...
Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line
11: old objectclass format not supported.

Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl,
dc=net to cn=Sumith,dc=itisl,dc=net
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
(Resource temporarily unavailable)

ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
Sep 13 14:55:46 leo slapd[2029]: 0 0 0
Sep 13 14:55:46 leo slapd[2029]: begin get_filter
Sep 13 14:55:46 leo slapd[2029]: EQUALITY
Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
Sep 13 14:55:46 leo slapd[2029]: attrs:
Sep 13 14:55:46 leo slapd[2029]:  name
Sep 13 14:55:46 leo slapd[2029]:  uid
Sep 13 14:55:46 leo slapd[2029]:  qmailGID
Sep 13 14:55:46 leo slapd[2029]:  qmailUID
Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
Sep 13 14:55:46 leo slapd[2029]:  userPassword
Sep 13 14:55:46 leo slapd[2029]:  mailQuota
Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
Sep 13 14:55:46 leo slapd[2029]:
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com,
o=Inter7 scope=2 filter=(objectClass=qmailUser)
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=2 tag=101 err=32
Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 RESULT tag=101 err=32 

Re: LDAP

2001-09-14 Thread Sumith Ail

For SqWebMail / M$ Email Clients / Netscape Clients

SqWebMail does have a Global Address Book lookup but how to make it 
search for a Vpopmail CDB database. Any thoughts ??

- Sumith

[EMAIL PROTECTED] wrote:

 Global Address book for... SqWebMail?
 Or is that some software that sits on top of LDAP servers?
 
 Sumith Ail wrote:
 
 Hello Vol
 
 I understand configuring LDAP is a pain. Is there an alternative in
 Vpopmail for people who require Global Address Book.
 
 Also, If at all I succeed in getting LDAP database to work  will the
 Global Address book be available.
 
 I'd like to hear from people who are using VPOPMAIL+LDAP in production
 environment.
 
 Regards
 Sumith
 
 [EMAIL PROTECTED] wrote:
 
 There's a lot going on with the LDAP configuration.
 First of all.  Your suffix must be contained within the VLDAP_BASEDN.
 
 #define VLDAP_BASEDN ou=%s, o=Inter7
 
 
 Your suffix should read:
 
 suffix  o=Inter7
 
 If you don't want the o=Inter7, you must create your own schemas.
 The o, and ou were used because they are standard with OpenLDAP,
 and very little configuration-time would be needed (I thought anyway).
 
 Lastly, you must create your suffix.
 
 bash$ cat  file
 dn: o=Inter7
 o: Inter7
 objectclass: organization
 
 bash$ cat file | ldapinsert
 bash$
 
 Again, to everyone.  The LDAP module does function properly, it's just
 a real pain to configure.  Second, we're not all too thrilled with
 LDAP anyway, and we always suggest another database.  If you feel
 you're stuck with LDAP because you have an LDAP user-base from another
 mail system, then you have no idea how right you are.  Converting
 between two different email LDAP database schemas is incredibly
 difficult and time consuming.
 
 That's it! :)
 
 Good luck to everyone still willing to give the LDAP module a shot.
 
 Sumith Ail wrote:
 
 Hello List / Vol / Ken
 
 I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on RH 7.1.
 With the help that I've got from the archives of the list, this is what
 I've included in slapd.conf file.
 
 include /etc/openldap/schema/qmail.schema
 
 databaseldbm
 suffix  o=itisl
 suffix  dc=itisl,dc=net
 rootdn  cn=Sumith,dc=itisl,dc=net
 rootpw  password
 directory   /var/lib/ldap/itisl
 defaultaccess   read
 schemacheck on
 lastmod on
 
 in qmail.schema file
 
 objectclass qmailUser
requires
  objectClass,
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore
 
 in vldap.h 
 
 #ifndef VPOPMAIL_LDAP_H
 #define VPOPMAIL_LDAP_H
 
 #undef OLD_VLDAP
 
 #define VLDAP_SERVER localhost
 #define VLDAP_PORT 389
 #define VLDAP_USER cn=Sumith, dc=itisl, dc=net
 #define VLDAP_PASSWORD password
 
 #ifdef OLD_VLDAP
   #define VLDAP_BASEDN ou=Subs, o=Inter7
 #else
   #define VLDAP_BASEDN ou=%s, o=Inter7
 #endif
 
 static char *vldap_attrs[] = {
   name,
   uid,
   qmailGID,
   qmailUID,
   qmaildomain,
   userPassword,
   mailQuota,
   mailMessageStore,
   NULL
 };
 #endif
 
 Vpopmail compiled OK but when I try to vaddomian I get Unable to chdir
 to vpopmail/users error.
 
 The errors that I see in OpenLDAP logs are...
 Sep 13 14:53:35 leo slapd[2027]: /etc/openldap/schema/qmail.schema: line
 11: old objectclass format not supported.
 
 Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, dc=itisl,
 dc=net to cn=Sumith,dc=itisl,dc=net
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 tag=97 err=0
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 text=
 Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
 (Resource temporarily unavailable)
 
 ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
 Sep 13 14:55:46 leo slapd[2029]: 0 0 0
 Sep 13 14:55:46 leo slapd[2029]: begin get_filter
 Sep 13 14:55:46 leo slapd[2029]: EQUALITY
 Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
 Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: attrs:
 Sep 13 14:55:46 leo slapd[2029]:  name
 Sep 13 14:55:46 leo slapd[2029]:  uid
 Sep 13 14:55:46 leo slapd[2029]:  qmailGID
 Sep 13 14:55:46 leo slapd[2029]:  qmailUID
 Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
 Sep 13 14:55:46 leo slapd[2029]:  userPassword
 Sep 13 14:55:46 leo slapd[2029]:  mailQuota
 Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
 Sep 13 14:55:46 leo slapd[2029]:
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH base=ou=test3.com,
 o=Inter7 scope=2 filter=(objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=1 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 10::
 Sep 13 14:55:46 leo slapd[2029]: 

Re: LDAP

2001-09-14 Thread Sumith Ail

How about qmail+Vpopmail instead of qmail-ldap here will the clients 
like Sqwebmail,M$ Mail clients, Netscape work...

Regards
Sumith

Christian Wiese wrote:

 Hi All,
 
 I think, there should be no Problem with Global Address book with 
 clients like Netscape or the new Mozilla. Both have LDAP capable
 address books, and we're using it successfully openldap and qmail-ldap.
 
 
 Greetings
 
 Christian
 
 
 [EMAIL PROTECTED] wrote:
 
 Global Address book for... SqWebMail?
 Or is that some software that sits on top of LDAP servers?
 
 Sumith Ail wrote:
 
 Hello Vol
 
 I understand configuring LDAP is a pain. Is there an alternative in
 Vpopmail for people who require Global Address Book.
 
 Also, If at all I succeed in getting LDAP database to work  will the
 Global Address book be available.
 
 I'd like to hear from people who are using VPOPMAIL+LDAP in production
 environment.
 
 Regards
 Sumith
 
 [EMAIL PROTECTED] wrote:
 
 There's a lot going on with the LDAP configuration.
 First of all.  Your suffix must be contained within the VLDAP_BASEDN.
 
 #define VLDAP_BASEDN ou=%s, o=Inter7
 
 
 Your suffix should read:
 
 suffix  o=Inter7
 
 If you don't want the o=Inter7, you must create your own schemas.
 The o, and ou were used because they are standard with OpenLDAP,
 and very little configuration-time would be needed (I thought anyway).
 
 Lastly, you must create your suffix.
 
 bash$ cat  file
 dn: o=Inter7
 o: Inter7
 objectclass: organization
 
 bash$ cat file | ldapinsert
 bash$
 
 Again, to everyone.  The LDAP module does function properly, it's just
 a real pain to configure.  Second, we're not all too thrilled with
 LDAP anyway, and we always suggest another database.  If you feel
 you're stuck with LDAP because you have an LDAP user-base from another
 mail system, then you have no idea how right you are.  Converting
 between two different email LDAP database schemas is incredibly
 difficult and time consuming.
 
 That's it! :)
 
 Good luck to everyone still willing to give the LDAP module a shot.
 
 Sumith Ail wrote:
 
 Hello List / Vol / Ken
 
 I am trying to configure Vpopmail 5.0pre5 with OpenLDAP 2.0.7 on 
 RH 7.1.
 With the help that I've got from the archives of the list, this is 
 what
 I've included in slapd.conf file.
 
 include /etc/openldap/schema/qmail.schema
 
 databaseldbm
 suffix  o=itisl
 suffix  dc=itisl,dc=net
 rootdn  cn=Sumith,dc=itisl,dc=net
 rootpw  password
 directory   /var/lib/ldap/itisl
 defaultaccess   read
 schemacheck on
 lastmod on
 
 in qmail.schema file
 
 objectclass qmailUser
   requires
 objectClass,
 name,
 uid,
 qmailGID,
 qmailUID,
 qmaildomain,
 userPassword,
 mailQuota,
 mailMessageStore
 
 in vldap.h 
 
 #ifndef VPOPMAIL_LDAP_H
 #define VPOPMAIL_LDAP_H
 
 #undef OLD_VLDAP
 
 #define VLDAP_SERVER localhost
 #define VLDAP_PORT 389
 #define VLDAP_USER cn=Sumith, dc=itisl, dc=net
 #define VLDAP_PASSWORD password
 
 #ifdef OLD_VLDAP
  #define VLDAP_BASEDN ou=Subs, o=Inter7
 #else
  #define VLDAP_BASEDN ou=%s, o=Inter7
 #endif
 
 static char *vldap_attrs[] = {
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore,
  NULL
 };
 #endif
 
 Vpopmail compiled OK but when I try to vaddomian I get Unable to 
 chdir
 to vpopmail/users error.
 
 The errors that I see in OpenLDAP logs are...
 Sep 13 14:53:35 leo slapd[2027]: 
 /etc/openldap/schema/qmail.schema: line
 11: old objectclass format not supported.
 
 Sep 13 14:55:46 leo slapd[2029]: do_bind: v2 bind: cn=Sumith, 
 dc=itisl,
 dc=net to cn=Sumith,dc=itisl,dc=net
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: conn=0 op=0 p=2
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_result: 0::
 Sep 13 14:55:46 leo slapd[2029]: send_ldap_response: msgid=1 
 tag=97 err=0
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=0 RESULT tag=97 err=0 
 text=
 Sep 13 14:55:46 leo slapd[2029]: ber_get_next on fd 7 failed errno=11
 (Resource temporarily unavailable)
 
 ep 13 14:55:46 leo slapd[2029]: SRCH ou=test3.com, o=Inter7 2 0
 Sep 13 14:55:46 leo slapd[2029]: 0 0 0
 Sep 13 14:55:46 leo slapd[2029]: begin get_filter
 Sep 13 14:55:46 leo slapd[2029]: EQUALITY
 Sep 13 14:55:46 leo slapd[2029]: end get_filter 0
 Sep 13 14:55:46 leo slapd[2029]: filter: (objectClass=qmailUser)
 Sep 13 14:55:46 leo slapd[2029]: attrs:
 Sep 13 14:55:46 leo slapd[2029]:  name
 Sep 13 14:55:46 leo slapd[2029]:  uid
 Sep 13 14:55:46 leo slapd[2029]:  qmailGID
 Sep 13 14:55:46 leo slapd[2029]:  qmailUID
 Sep 13 14:55:46 leo slapd[2029]:  qmaildomain
 Sep 13 14:55:46 leo slapd[2029]:  userPassword
 Sep 13 14:55:46 leo slapd[2029]:  mailQuota
 Sep 13 14:55:46 leo slapd[2029]:  mailMessageStore
 Sep 13 14:55:46 leo slapd[2029]:
 Sep 13 14:55:46 leo slapd[2029]: conn=0 op=1 SRCH 

Pro-Active Response For Our Nations Youth

2001-09-14 Thread customerservice

Dear Educator,

Columbine (Littleton, CO)Jonesboro, ARWest Paducah, KYPearl, MS...

Immediately, you know why these places are linked together.  The names of
these schools are forever burned into our memories and the national conscience...

Are you concerned about the rising number of incidents of violence in our
schools?

Would you like to lower the probabilty of such an incident from occuring at
your school?

Would you like to help our children better cope with the pressures of modern
life - helping to prevent issues such as substance abuse, teen pregnancy and
suicide?

If you answered yes to any of these questions - then read on.

The Resilient Kids CD ROM Program is used in schools, churches, and homes to
teach optimism, coping skills, and personal mastery and helps to prevent
depression in young people.  This program, launched in April 2000, is now
in over 1,000 primary and secondary schools across Australia.


With its light-hearted, interactive approach, the Resilient Kids CD ROM Program
strives to achieve the following objectives:

  - Reducing the incidence of suicide in the young by teaching primary
prevention strategies.

  - Teaching children how to evaluate their automatic thoughts and to
re-look at failures or set-backs as challenges to be reacted to with
activity and hope.

  - Teaching parents how to help their children achieve self-esteem
through personal mastery.

  - Creating a sense of belonging through parents and school working
together for the childs well being.

  - Equipping older teenagers with ideas and skills for managing the transition
from adolescence to adulthood and handling typical stressful situations.

  - Taking a serious problem and making it easy to communicate and fun
to learn through interactivity.

The program's success is due to:

  - A clear format for instant implementation

  - Colorful, fun-filled interactive material suitable for all reading ages
and learning abilities

  - Practicality. It will not burden crowded curriculums or overload teachers

  - A built-in, prepared parent education component

Resilience Training - the most effective way for both primary and secondary
schools to address the serious social problems of depression, suicide and
substance abuse. Take advantage of this unique program and teach your
students how to bounce back positively.

Resilient Kids is a positive, effective and enjoyable prevention program for
your school community. Please visit us at http://www.resilientkids.net or call
for more information about ordering online, our parent/teacher resiliency
seminars, or our newly released parent CD package.

To order, simply go to http://www.resilientkids.net and order online. You
can email [EMAIL PROTECTED] if you have any questions or to request
an order form. To reach us by phone, call (501) 267-3710 or fax
(501) 267-1283. We accept all major credit cards.

Products may be sold within a school (e.g. Parents) at cost, but not outside
the school. All Programs may be ordered on approval at no charge, to be paid
for or returned (customer to pay return freight) within 2 school weeks in
new condition. If not returned, full purchase price will be due and payable.


**
Under Bill s.1618 TITLE III passed by the 105th US Congress this letter
cannot be considered spam as long as the sender includes contact
information and a method of removal.

You have received this email as you are believed to be in the educational field.
If you feel you received this email in error, please visit
http://www.resilientkids.net/remove to have your email address permanently
removed from our database.




case insensitive usernames ?

2001-09-14 Thread Greg Cope

Dear All

Have I missed something or is it possible to have set a flag so that
usernames (the bit to the left of the @ sign) are case insensitive ?

A client has sent out a mail with a mix cases reply to - which appear to
be bouncing, until we put it a mix case link.

Thanks

Greg



Re: case insensitive usernames ?

2001-09-14 Thread Ryan Duda

At 12:30 PM 9/14/2001 +, Greg Cope wrote:
Dear All

Have I missed something or is it possible to have set a flag so that
usernames (the bit to the left of the @ sign) are case insensitive ?

Running 4.10.32, I don't have that issue. It doesn't seem to matter if I 
Mix / uc / lc the address.

A client has sent out a mail with a mix cases reply to - which appear to
be bouncing, until we put it a mix case link.

Could you provide some logs with the bounce cause?

-Ryan

Thanks

Greg




can't compile qmailadmin0.45

2001-09-14 Thread Jens Georg

hi,

i have installed both autorespond  ezmlm. configure works well, but make
ends up with this:

hal9000:/tmp/qmailadmin-0.45 # make
make  all-recursive
make[1]: Entering directory `/tmp/qmailadmin-0.45'
make[2]: Entering directory `/tmp/qmailadmin-0.45'
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o mailinglist.o 
sysadmin.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o 
-L/home/vpopmail/lib
-lvpopmail -lnsl -lm -lcrypt
alias.o: In function `show_redirect_lines':
/tmp/qmailadmin-0.45/alias.c:301: undefined reference to `slen'
/tmp/qmailadmin-0.45/alias.c:303: undefined reference to `scopy'
/tmp/qmailadmin-0.45/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/tmp/qmailadmin-0.45/alias.c:333: undefined reference to `slen'
/tmp/qmailadmin-0.45/alias.c:335: undefined reference to `scopy'
/tmp/qmailadmin-0.45/alias.c:336: undefined reference to `scat'
alias.o: In function `delredirectnow':
/tmp/qmailadmin-0.45/alias.c:587: undefined reference to `slen'
/tmp/qmailadmin-0.45/alias.c:589: undefined reference to `scopy'
/tmp/qmailadmin-0.45/alias.c:590: undefined reference to `scat'
mailinglist.o: In function `delmailinglistnow':
/tmp/qmailadmin-0.45/mailinglist.c:277: undefined reference to `slen'
collect2: ld returned 1 exit status
make[2]: *** [qmailadmin] Error 1
make[2]: Leaving directory `/tmp/qmailadmin-0.45'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/qmailadmin-0.45'
make: *** [all-recursive-am] Error 2 

somebody who can help me ?

ps: i am using vpopmail 5.0pre5 and qmail 1.03.

-- 
gruss,jens
---
instant networks - netzwerkmanagment  internetfullservices



Re: case insensitive usernames ?

2001-09-14 Thread Greg Cope

Ryan Duda wrote:
 
 At 12:30 PM 9/14/2001 +, Greg Cope wrote:
 Dear All
 
 Have I missed something or is it possible to have set a flag so that
 usernames (the bit to the left of the @ sign) are case insensitive ?
 
 Running 4.10.32, I don't have that issue. It doesn't seem to matter if I
 Mix / uc / lc the address.
 
 A client has sent out a mail with a mix cases reply to - which appear to
 be bouncing, until we put it a mix case link.
 
 Could you provide some logs with the bounce cause?
 

Dear All

I am a muppet - I jumped to a conclusion, a little knowledge is a
dangerous thing !

The client sent me some logs - turned out the email address / .qmail
file where different - hence the bounces.

My appologies for wasting everyones time and bandwidth.  I'll now go an
birch myself 

Sorry,

Greg


 -Ryan
 
 Thanks
 
 Greg



Long time to deliver....

2001-09-14 Thread Daniel Abad

Hi!!

Anyone could help me? 
I have vpopmail and qmail working together, and few days ago, its taking
long time to deliver the messages... 

All my virtual users, sometimes they receive the messages and sometimes
don´t. At the outlook, a message appears saying that the pop3.server.com.br
is unreacheable... but I can stil ping it.

Do you have any idea what should be?? 
Nothing appears at /var/log/maillog

Tks all.

Dan

-Mensagem original-
De: Divyank Turakhia [mailto:[EMAIL PROTECTED]]
Enviada em: Quinta-feira, 13 de Setembro de 2001 23:21
Para: vpopmail
Assunto: RE: 1 character username


I think its a brilliant idea ... i'll try it out  logically it should
work ... thanks

Div

 -Original Message-
 From: Bjorn Nilsen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 14, 2001 3:57 AM
 To: Divyank Turakhia
 Cc: vpopmail
 Subject: Re: 1 character username


 I'm not sure what the implications of this are but it does work.
 What if you
 added a small fake alias domain and login using that: eg if the domain is
 mycompany.com then make an alias domain myc so you would login with
 user@myc



 - Original Message -
 From: Divyank Turakhia [EMAIL PROTECTED]
 To: Ken Jones [EMAIL PROTECTED]
 Cc: vpopmail [EMAIL PROTECTED]
 Sent: Friday, September 14, 2001 2:46 AM
 Subject: RE: 1 character username


  i figured tht ... but thts for giving him a 1 letter email address ... i
  need to give him a 1 letter user which can be authenticated using vchkpw
 ...
  cause its his username which needs to be limited to 20 chars ...
 
  ne other ideas tht you can think of???
 
  Div
 
   -Original Message-
   From: Ken Jones [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 13, 2001 8:04 PM
   To: Divyank Turakhia
   Cc: [EMAIL PROTECTED]
   Subject: Re: 1 character username
  
  
   On Thu, 2001-09-13 at 07:23, Divyank Turakhia wrote:
How do i add a username with 1 character only. The problem is one of
 my
clients is using some outdated local mail server which allows
   usernames to
be only 20 characters. His domain name is 18 characters. The @
   sign takes 1
character. that leaves only one chartered for his username.
   When i try to
add a letter username it gives me an error stating illegal
 username.
   
Is there any way i can add a one character username??? some
 thing like
[EMAIL PROTECTED]
   
Divyank
   
   
  
   Unfortunately, no. All the single characters are reserved
   for directory hashing.
  
   What you could do is give him a new email address with
   two or more characters, then create an alias that points
   his single character address to his new address.
  
   For example:
  
   vadduser [EMAIL PROTECTED]
  
   valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
   the valias command does the same thing as
   echo [EMAIL PROTECTED]  /home/vpopmail/domains/domain.com/.qmail-a
  
   Ken Jones
  
  
  
  
  
 
 





Quick quota questions

2001-09-14 Thread JWC



My brain is toast after messing with this so long. Two 
quick ?s.

1. If you set the default quota to 100,000,000 
(1) is this the same as giving everyone 97.66 megs of mail 
space?

2. Is there any way to change the default quota setting 
in vpopmail once installed without recompiling the whole thing?

thanks


Re: Quick quota questions

2001-09-14 Thread Ken Jones

On Fri, 2001-09-14 at 11:22, JWC wrote:
 My brain is toast after messing with this so long.  Two quick ?s.
 
 1.  If you set the default quota to 100,000,000 (1) is this the same as 
giving everyone 97.66 megs of mail space?
 
Sort of, yes.

 2.  Is there any way to change the default quota setting in vpopmail once installed 
without recompiling the whole thing?
 
 thanks

You will have to recompile and reinstall vpopmail to change the default
setting. You can, however, change the quota for any user or domain with
out reinstalling. 

Ken Jones





Re: Storage Quota Checking for Email Alias?

2001-09-14 Thread Ken Jones

On Thu, 2001-09-13 at 22:07, Chris wrote:
 Ken,
 
 Can you tell me will you add the quota checking for email alias? and will it
 include in 5.0 release?
 
 It bring us a lot of problem if we enable the storage quota for pop account
 and provide alias for the user. they can simply use the alias to store
 unlimited email in any pop account.

In order to do quota checking for aliases, qmail-local will
have to be replaced. We've been thinknig of writing a
vpopmail aware version of qmail-local to be included
in the 5.1 development version. But it's just an idea
at this point.

Ken Jones




Re: Vpopmail Ver 5 release

2001-09-14 Thread Ken Jones

On Thu, 2001-09-13 at 18:40, cbunnell wrote:
 Hello Ken, Inter7!
 
 I'm sure things have been effected by current events, but I was wondering
 how the final release is looking?  Any changes?  Or should I go for pre5 ?

pre6 is the new 5.0 version that will be released on Monday or
Tuesday of next week. We've postponed the release because of
the terrorism.

You can pick up the 5.0 version from
http://www.inter7.com/vpopmail/vpopmail-5.0.tar.gz

Here are the changes from pre5

09/12/01 - update vdelivermail to use qmail's DTLINE environment
   variable to set the DeliveredTo address when vdelivermail
   delivers email to a catchall account. 

 - Jan Pavlík [EMAIL PROTECTED]
   add #define MYSQL_PORT 0 to vmysql.h in case folks
   want to hard code the port number. The default of
   0 lets mysql read my.cnf files to set the port number.

 - configure now says that --enable-passwd=n is the default.
   It was the default already, now it just says it.

Ken





RE: LDAP

2001-09-14 Thread Steve Belt

I am trying again to setup the LDAP config using the just released 5.0 (on
Linux 7.2 with the latest version of OpenLDAP). I cannot get past the
Error: Unable to chdir to vpopmail/users directory

I understand LDAP is difficult to configure; but the greatest difficulty is
complete instructions. There appears to be more to it than simply modifying
the vldap.h; you must setup the schema, setup the slapd.conf, and apparently
more (since I still cannot use LDAP after doing all these things).

Note: I am logged in as root for all steps below

I. Setup OpenLDAP
-

1.Created qmailUser.schema (btw - the IANA numbers are valid so feel free to
use them)

attributetype ( 1.3.6.1.4.1.8868.3.1.2
NAME 'qmailGID'
DESC 'qmail group id'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.3
NAME 'qmailUID'
DESC 'qmail userid'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.4
NAME 'qmaildomain'
DESC 'qmail Domain'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.6
NAME 'mailQuota'
DESC 'qmail quota'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.7
NAME 'mailMessageStore'
DESC 'qmail Store'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.8868.3.1
NAME 'qmailUser'
DESC 'qmail local mail recipient'
SUP ( top $ person $ organizationalPerson )
MAY ( qmailGID $ qmailUID $ qmaildomain $
mailQuota $ mailMessageStore $ name ) )

2. Updated slapd.conf to include /path/to/schemas/qmailUser.schema:

include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/qmailUser.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral   ldap://root.openldap.org

pidfile /usr/local/var/slapd.pid
argsfile/usr/local/var/slapd.args

# Load dynamic backend modules:
# modulepath/usr/local/libexec/openldap
# moduleloadback_ldap.la
# moduleloadback_ldbm.la
# moduleloadback_passwd.la
# moduleloadback_shell.la

###
# ldbm database definitions
###

databaseldbm
suffix  dc=sebscape,dc=com
#suffix o=My Organization Name,c=US
rootdn  cn=Manager,dc=sebscape,dc=com
#rootdn cn=Manager,o=My Organization Name,c=US
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw  mypassword
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory   /usr/local/var/openldap-ldbm
# Indices to maintain
index   objectClass eq

3. restarted slapd service

II. Configured vpopmail

1. ./configure --enable-ldap=y --enable-roaming-users=y -- no errors
reported

2. Modify vldap.h (note that I pre-created ou=users, dc=sebscape,dc=com
while setting up
openLDAP):

#ifndef VPOPMAIL_LDAP_H
#define VPOPMAIL_LDAP_H

#undef OLD_VLDAP

#define VLDAP_SERVER localhost
#define VLDAP_PORT 389
#define VLDAP_USER cn=Manager, dc=sebscape, dc=com
#define VLDAP_PASSWORD mypassword

#ifdef OLD_VLDAP
   #define VLDAP_BASEDN ou=users, dc=sebscape, dc=com
#else
   #define VLDAP_BASEDN ou=users, dc=sebscape, dc=com
#endif

static char *vldap_attrs[] = {
  name,
  uid,
  qmailGID,
  qmailUID,
  qmaildomain,
  userPassword,
  mailQuota,
  mailMessageStore,
  NULL
};
#endif

3. make --- no errors reported
though I notice these warning midway:
vauth.c: In function `vauth_getpw':
vauth.c:80: warning: too many arguments for format
vauth.c: In function `vauth_getall':
vauth.c:310: warning: too many arguments for format
vauth.c: In function `vauth_adddomain':
vauth.c:575: warning: too many arguments for format
vauth.c: In function `vauth_deldomain':
vauth.c:620: warning: too many arguments for format

4. make install-strip ---no errors reported


5. /home/vpopmail/bin/vadddomain mydomain.com
Enter postmaster's password
enter password again
Error: Unable to chdir to vpopmail/users directory

Anyone able to reproduce this? Or better yet, tell me what is causing the
error?

TIA,
Steve B.




vpopmail-5.0 url

2001-09-14 Thread Ken Jones

The vpopmail-5.0 tar ball I posted a URL too may 
change over the next few days.

The only thing I'm looking at changing is getting
the oracle module to compile/work.

Ken Jones






qmail-default via mysql

2001-09-14 Thread sec

Hello,

WHy using valias or manualy insert correct lines in mysql for sending
all mails for domain on one account doesn't work.
Works only using .qmail-default file

  

-- 
Best regards,
 sec  mailto:[EMAIL PROTECTED]




Re: qmail-default via mysql

2001-09-14 Thread Ken Jones

On Fri, 2001-09-14 at 14:56, sec wrote:
 Hello,
 
 WHy using valias or manualy insert correct lines in mysql for sending
 all mails for domain on one account doesn't work.
 Works only using .qmail-default file

That is because qmail-local delivers the mail to domain first.

Ken
 





URGENT: Aack,_child_crashed._(#4.3.0)/

2001-09-14 Thread juan enciso

HI Friends, sorry for my english
I have a problem with a domain specific
its e-mais be queue .

This is the error messages:

@40003ba28abc3ad6cc2c starting delivery 703: msg
540058 to local [EMAIL PROTECTED]
@40003ba28abc3ad6ef54 status: local 1/100 remote
24/250
@40003ba28abd00b97e54 delivery 703: deferral:
Aack,_child_crashed._(#4.3.0)/
@40003ba28abd00b9a94c status: local 0/100 remote
24/250

I use the pacht for vdelivermail.c quotawarn 
Please help me


__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/