On Apr 29, 2004, at 1:51 PM, qmailadmin user wrote:
A quick grep of the source finds the answer in alias.c.

alias.c:     *  don't read files that are really ezmlm-idx listowners,
alias.c:     *  i.e. .qmail-user-owner

In an attempt to prevent conflicts with mailing list owners in ezmlm all email addresses that contain "-owner" are trapped. Note that because all addresses are internally prefixed with .qmail even the simple address "[EMAIL PROTECTED]" will be trapped, too.

So, I guess this a feature, not a problem :)

No, it is a bug.


There's no need to skip files that contain "-owner" in them -- there's code later on that ignores files that call ezmlm binaries.

Here's a patch that fixes that problem, and also allows aliases like "fred-default".

--- alias.c     24 Apr 2004 01:12:50 -0000      1.4.2.4
+++ alias.c     29 Apr 2004 23:28:22 -0000
@@ -167,14 +167,8 @@

   for (m=0; m<n; m++) {
     mydirent=namelist[m];
-    /*
-     *  don't read files that are really ezmlm-idx listowners,
-     *  i.e. .qmail-user-owner
-     *
-     */
     if ( strncmp(".qmail-", mydirent->d_name, 7) == 0 ) {
-      if ( strstr(mydirent->d_name, "-owner") != NULL ) continue;
-      if ( strstr(mydirent->d_name, "-default") != NULL ) continue;
+      if ( strcmp(mydirent->d_name, ".qmail-default") == 0 ) continue;

       if ( (fs=fopen(mydirent->d_name,"r"))==NULL) {
         fprintf(actout,"<tr><td colspan=4>");

This is going into CVS for the 1.2 series, and will be in the next 1.2 release.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to