[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ispman-users
Subject:    Re: [Ispman-users] Cyrus or courier
From:       Matt <matt () kynx ! org>
Date:       2004-01-29 9:54:19
Message-ID: 1075370058.1962.40.camel () kynx
[Download RAW message or body]

> I've setup ISPman-0.97 with Courier and use the users e-mail for authentication
> purpose against pam -> ldap.

I'm happily running same setup under RH7.3. Decided on Courier because
Cyrus is so scary, and found it dead simple (well, relatively dead, if
that's possible). Love the fact it builds it's own src rpm straight from
tarball.

Progs:
openldap-2.0.27
courier-imap-2.1.1

> I've wrote a simple HOWTO and offered it to Atif Ghaffar for publishing. I guess
> it's not mature enouth or have still to much mistakes, but if you whant take a
> look it's still avaible at:
> 
>     http://www.atix.com.br/~alexb/ispserver/

Looks about right to me. Should probably emphasise that you don't need
the full Courier install - just Courier IMAP.

> PS. Eaven beeing able to directly authenticat users with there e-mail I still
> thing that Perdition helps to facilitate migration between old/new mail servers.

I implemented a hack I found on this list ages ago so that there's two
uid's (user_domain_tld and user@domain.tld), but can't remember off the
top of my head if this was necessary to get courier running. Err... yup,
think it was. I don't use perdition right now.

My configs are below (comments removed to save some space). Probably
lots of stuff I could tweak, but it works just fine. 

Only real difference from Alex's is that I don't bind to the LDAP domain
- have heard that uses more resources, plus requires password in config
- and I use the mailQuota stuff. Openldap's on the same server, so
haven't had to muck with the TLS stuff (yet :| ) - that is still marked
'experimental'.

If I _ever_ have any time I'll try writing this up (plus my ProFTPd
notes).

Best of luck,

Matt

/etc/maildroprc:

import SENDER
DEFAULT=$HOME/Maildir

/etc/maildropldap.config:

hostname        127.0.0.1
basedn          o=ispman
filter          &(objectclass=ispmanDomainUser)(ispmanStatus=active)
timeout         5
search_method           mail
default_uidnumber       8
default_gidnumber       8
mail_attr               mailRoutingAddress
uid_attr                uid
uidnumber_attr          uidNumber
gidnumber_attr          gidNumber
maildir_attr            homeDirectory
homedirectory_attr      homeDirectory
quota_attr              mailQuota

/usr/lib/courier-imap/etc/authdeamonrc:

authmodulelist="authldap"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql
authmysql authpam"
daemons=5
version="authdaemond.ldap"

/usr/lib/courier-imap/etc/authldaprc:

LDAP_SERVER             localhost
LDAP_PORT               389
LDAP_BASEDN             o=ispman
LDAP_TIMEOUT            5
LDAP_AUTHBIND           1
LDAP_MAIL               mailLocalAddress
LDAP_HOMEDIR            homeDirectory
LDAP_FULLNAME           cn
LDAP_CLEARPW            UserPassword
LDAP_UID                uidNumber
LDAP_GID                gidNumber
LDAP_DEREF              never
LDAP_TLS                0




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic