On Saturday 31 May 2003 12:10 pm, Tom Collins wrote:
> If anyone else has patches for qmailadmin, and even vpopmail, please
> send them to me and I'll try to add them to the official release.

Here's a quick patch to 1.0.20 that will hide the mailing list links on the 
main menu if you configure with --disable-ezmlmdir or --enable-ezmlmdir=no.  
I know this can be done by setting the MaxMailingLists to 0 in the vlimits 
junk, but i wanted some way to do it across _all_ domains.

You still need to remove the #095 table(s) in html/add_user_*.html to hide it 
from users completely, but, ya know, whatever.

-- 
HOSTBABY.COM - web hosting for musicians
Ryan O'Neill - [EMAIL PROTECTED]
http://www.hostbaby.com

--- template.c.orig	Tue Jun  3 19:59:57 2003
+++ template.c	Tue Jun  3 20:00:19 2003
@@ -413,2 +413,3 @@
 
+             if (strcmp(EZMLMDIR, "no") != 0) {
               if (MaxMailingLists != 0) {
@@ -421,2 +422,3 @@
               }
+             }
             } else {
@@ -484,2 +486,3 @@
 
+              if (strcmp(EZMLMDIR, "no") != 0) {
                if (MaxMailingLists != 0) {
@@ -492,2 +495,3 @@
                }
+              }
              }

Reply via email to