Re: vpopmail-4.9.10, OpenLDAP, and FreeBSD
I finally got vpopmail to compile with --enable-ldap=y set and vadddomain doesn't core dump any more. That is after i took out --enable-hardquota=xxx. If i configure with --enable-hardquota=xxx i can compile fine with make; make install. But once installed, /usr/home/vpopmail/bin/vadddoman test.com would coredump after entering and verifying the postmaster password. Now i am into another problem, Cannot authenticate! I set the --enable-default-domain=domain.com but cannot authenticate as either "postmaster" or "[EMAIL PROTECTED]". Here is the relevant part of vldap.h: ---snip--- #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=domain,dc=com" #define VLDAP_PASSWORD "secret" #ifdef OLD_VLDAP #define VLDAP_BASEDN "ou=Subs, o=Inter7" #else #define VLDAP_BASEDN "ou=%s, o=domain" #endif ---snip--- And here is the relevant part of slapd.conf ---snip--- include /usr/local/etc/openldap/slapd.at.conf include /usr/local/etc/openldap/slapd.oc.conf schemacheck off pidfile /var/run/slapd.pid argsfile/var/run/slapd.args databaseldbm suffix "dc=domain,dc=com" rootdn "cn=Manager,dc=domain,dc=com" rootpw secret directory /var/run/openldap-ldbm ---snip--- Of course i didn't put 'domain' and 'secret'. I am just demonstrating that the fields match in both vldap.h and slapd.h (and yes i restarted slapd after doing the changes then started qpop+vchkpw as I normally did with any other setup: eg. cdb, mysql, etc.) If you know a solution or have a suggestion, please email me. Thanks --manip _ Get your FREE download of MSN Explorer at http://explorer.msn.com
User postfix patch
i don't know how useful this patch would be for the general public... but hey, I need it, so there most be at least someone else with my odd requirements :) you can get it at http://jfns.net/qmail-stuff/postfix.domain.patch.tar.gz here's the description :-) This Patch adds the ability to have a username postfix on a specified domain. It works like this: ./configure --"options you normally use" --enable-user-postfix="postfix" \ --enable-user-postfix-domain="FQDN" then, when some one emails user "john@FQDN" he can also receive mail at "john.postfix@FQDN" and he can also authenticate as "john.postfix%FQDN". It will not affect affect any other domains besides the one specified at configure time. HOW-TO APPLY: cp postfix.domain.patch vpopmail-4.9.10/ cd vpopmail-4.9.10/ patch postfix.domain.patch -Javier Frias [EMAIL PROTECTED]
How to create message (filter) rule?
Dear All, I am using vpopmail + courier-imap server and sqwebmail. I wonder if I can createfilter rules for incoming messages. Thanks in advance,
Re: courier imap 1.3.6
You need to upgrade to either vpopmail 4.9.9 or courier-imap 1.3.7 -- either one. Or you can manually delete the call to vlogauth() in authlib/preauthvchkpw.c -- Sam Sam, Great, I upgraded to 1.3.7 compile went ok. Unfortunately I cannot upgrade to vpopmail 4.9.9 or 4.9.10 cause simply it never compiled on FreeBSD 4.2/4.3 w/ OpenLDAP module. I was only able to get 4.9.8-1 (from ports) to compile. The funnier thing is, if you configure vpopmail --enable-ldap and --enable-hardquota=xxx and then you make it will compile ok. However, once you get to vadddomain domain.com it will prompt for postmaster password and then it would coredump. Qmailadmin 0.39, 0.41 and 0.43 do not compile with vpopmail+ldap module (even with -lldap and -llber in the Makefile). I get a lot of vauth.o undefined references to vchkpw functions (not ldap*). Here is what I had to do to get Courier IMAP + Vpopmail w/ OpenLDAP module to work: ./configure --with-authvchkpw cd authlib; vi Makefile 1. add "-lldap -llber" to "authvchkpw_LDADD" 2. add "-L/usr/local/lib" to "LDFLAGS" 3. add "-I/usr/local/include -lldap -llber" to "CFLAGS" cd ..;make It will compile ok. make install-strip fails at imapd.rc (make install works) make install-configure stops at the very beginning (I didn't get an error, just a stupid stop***) cp /usr/local/libexec/imapd.rc /usr/local/etc/rc.d/imapd.sh mv /usr/local/etc/imapd.dist /usr/local/etc/imapd (and modified it) mv /usr/local/etc/imapd-ssl.dist /usr/local/etc/imapd-ssl /usr/local/etc/rc.d/imapd.sh start Finally Courier IMAPD authenticating from vchkpw+openldap --without hardquotas :( I will run some stress tests on that configuration, email me if you are interested to look at some results. Thanks for all your help, Tim
Re: courier imap 1.3.6
Tim Hason writes: It will compile ok. make install-strip fails at imapd.rc (make install works) make install-configure stops at the very beginning (I didn't get an error, just a stupid stop***) Use must use gmake instead of make on any xBSD. -- Sam