Re: qmail quota

2001-07-31 Thread mike hagerty



 Jonathan X Peers [EMAIL PROTECTED] wrote:
 
  1. can I set mail quota per user or is it accress the bord (the same for
  all mailbox)
 
 For local users, use your OS's filesystem quota mechanism.  See your
 regular OS support channels for help with that.  For virtual domains,
 your virtual domain manager (if using one) may have this feature.
 
Qmail with LDAP also has integrated support for this but you have to put
all your users
into an LDAP database. WWW site for this is at http://www.nrg4u.com/

Qmail works very well for me with this setup accept for the fact that
there is no way 
to automatically notify users that they are over quota. It just rejects
email for the user
that is over the quota.



-- 
Mike H.



[Fwd: qmail-ldaplookup]

2000-09-22 Thread mike hagerty


Hello
I am trying to get qmail to work with our netscape directory server
version 4.12
this is on solaris 8   ldapsearch from sun. 
I compiled qmail with gcc on a ultra 5 

when I do an ldapsearch I get 

# ldapsearch -b "ou=people, o=domain.net" [EMAIL PROTECTED]

uid=john,ou=people, o=domain.net
uidnumber=1024
mailhost=mail.domain.net
maildeliveryoption=mailbox
gidnumber=60001
homedirectory=/space/qmailhome/john
[EMAIL PROTECTED]
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgperson
objectclass=mailRecipient
objectclass=posixaccount
objectclass=qmailUser
objectclass=nsMessagingServerUser
cn=John Doe
uid=john
givenname=John
sn=Doe
employeenumber=1024

and the log file from slapd has the following
[22/Sep/2000:16:19:57 -0500] conn=30 fd=36 slot=36 connection from
127.0.0.1 to 127.0.0.1
[22/Sep/2000:16:19:57 -0500] conn=30 op=0 SRCH
base="ou=people,o=domain.net" scope=2 filter="([EMAIL PROTECTED])"
[22/Sep/2000:16:19:57 -0500] conn=30 op=0 RESULT err=0 tag=101
nentries=1 etime=0
[22/Sep/2000:16:19:57 -0500] conn=30 op=1 UNBIND
[22/Sep/2000:16:19:57 -0500] conn=30 op=1 fd=36 closed - U1

but if I do a qmail-ldaplookup  I get the following error
# ./qmail-ldaplookup -m [EMAIL PROTECTED]

init_ldap:  passwords are not compared via rebind
localdelivery:  on
clustering: off
homedirmaker:   /var/qmail/bin/create_homedir
defaultDotMode: ldaponly
defaultQuota:   100S,1000C
QuotaWarning:
--
undefined
--
ldap_lookup:searching with
(|([EMAIL PROTECTED])([EMAIL PROTECTED]))
ERROR: ldap_lookup not successful: only uid lookups can be local

and here is the log entry


[22/Sep/2000:16:32:22 -0500] conn=41 fd=36 slot=36 connection from
127.0.0.1 to 127.0.0.1
[22/Sep/2000:16:32:22 -0500] conn=41 op=0 BIND
dn="uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot"
method=128 version=2
[22/Sep/2000:16:32:22 -0500] conn=41 op=0 RESULT err=0 tag=97 nentries=0
etime=0
[22/Sep/2000:16:32:22 -0500] conn=41 op=1 SRCH
base="ou=people,o=domain.net" scope=2
filter="(|([EMAIL PROTECTED])([EMAIL PROTECTED]))"
[22/Sep/2000:16:32:22 -0500] conn=41 op=1 RESULT err=0 tag=101
nentries=1 etime=0
[22/Sep/2000:16:32:23 -0500] conn=41 op=-1 fd=36 closed - B1


the only difference I see in the log is that qmail-ldapsearch 
puts a | in front of the search string.

The qmail-ldapsearch does not find anything.
 
I can send to local users and remote systems as described in
TEST.deliver

is this a problem with netscape or with qmail-ldap or me???
we are currently useing netscape messaging server, but I want to move to
qmail.
should I use OPENLDAP???

does anyone have qmail-ldap working with solaris??

are there any good docs on how to install qmail-ldap besides that which
comes bundled.
thanks for any help








-- 
Mike Hagerty
Prairie iNet
www.prairieinet.net
[EMAIL PROTECTED]