On Thu, Jan 26, 2006 at 11:04:05PM -0800, jay alvarez wrote: > Hi Nicolas, > > I already found out my problem.. > > ezmlm-web, runs under ezmlmboy, and ezmlmboy has its home set to /var/ezmlm > The dot-qmail files were created inside /var/ezmlm which should have been > created inside /var/ezmlm/lists instead, since it is the mailMessageStore > that is set in the ldap entry of mailing list user ezmlmboy.. Whew!! After 4 > days... at last!! > > > For those who are just starting qmail-ldap+ezmlm+ezmlm-web (and also for my > future reference), Here's how I did it: > > Create a unix user account which will handle all your mailing list: > > ezmlmboy:*:1012:1012::0:0:ezmlm mailing list > user:/var/ezmlm/lists:/usr/sbin/nologin > > Notice that its home is set to "/var/ezmlm/lists" you need exactly this path > in your ldap entry for the user that will manage the mailing list. > > Now create an ldap entry for a dedicated user that will manage the mailing > list. > > dn: uid=ezmlmboy,ou=people,o=our,dc=domain > objectClass: top > objectClass: qmailUser > objectClass: person > qmailUID: 1012 -------> should be set to the uid of > ezmlmboy user > qmailGID: 1012 > uid: ezmlmboy > sn: ezmlm > cn: ezmlmboy > mailHost: mail2.our.domain > mail: [EMAIL PROTECTED] > mailAlternateAddress: [EMAIL PROTECTED] > mailMessageStore: /var/ezmlm/lists ---------> home directory of > user ezmlmboy > qmailDotMode: dotonly > accountStatus: nopop >
You don't need a [EMAIL PROTECTED] address. There is nothing special about "default" in qmail-ldap. We use "catchall" instead. So [EMAIL PROTECTED] is a mail address like [EMAIL PROTECTED] whereas [EMAIL PROTECTED] is special and will match any kind of address sent to @lists.our.domain. This [EMAIL PROTECTED] address is then translated into: $USER ezmlmboy and $EXT everything before the @ (e.g. joeuser-subscribe). Now you can use a .qmail-joeuser-default and qmailDotMode dotonly to do the delivery. Btw. if there is no .qmail-default file or one that does match (in my case the .qmail-joeuser-default file) a "no such mailbox" error will be returned. So in short you can just use a "mail: [EMAIL PROTECTED]" and remove the mailAlternateAddress field. -- :wq Claudio
