Submitted By: David B. Cortarello (Nomius) Date: 02-10-2006 Initial Package Version: 1.2.9 Description: The patch was created from the original qmailadmin package This patch provides the following bug solution: * Not existence of the mailinglist file for ezmlm. Please see caveats before sending me criticism and feedback. Caveats: * This is not the right way to do this, this is just an ugly hack in the qmailadmin source code to fix an ezmlm bug which I will try to fix in the future (pray for a 72 hours day for that :D). So please, don't think that I consider this as a clean and nice bugfix, actually this is the opposite. diff -Naur qmailadmin-1.2.9.old/mailinglist.c qmailadmin-1.2.9/mailinglist.c --- qmailadmin-1.2.9.old/mailinglist.c 2005-02-16 13:10:37.000000000 -0300 +++ qmailadmin-1.2.9/mailinglist.c 2006-10-02 20:59:56.000000000 -0300 @@ -410,6 +410,8 @@ char *arguments[MAX_BUFF]; int argc; int i=0; + int nom, nom_etc, nom_howmuch; + char nom_buff[256]; char tmp[64]; char *tmpstr; char loop_ch[64]; @@ -524,6 +526,15 @@ wait(&pid); } + sprintf(nom_buff, "%s/%s/mailinglist", RealDir, ActionUser); + nom=open(nom_buff, O_CREAT|O_WRONLY); + nom_etc=open("/etc/ezmlm/default/mailinglist", O_RDONLY); + nom_howmuch=read(nom_etc, nom_buff, 256); + write(nom, nom_buff, nom_howmuch); + close(nom_etc); + close(nom); + + /* * ezmlm-make -e leaves .qmail-listname-(accept||reject) links for some reason. * (causing file permission errors in "show mailing lists") Also, it doesn't