ezmlm-manage -N patch (fwd)

Tim Baur tbaur at panaso.com
Tue Apr 15 19:24:45 PDT 2003


Never received a response from tom@, and the patch hasnt made its way into
the port, so I'll pass it along.

-tbaur


---------- Forwarded message ----------
Date: Sat, 22 Feb 2003 19:36:14 -0800 (PST)
From: Tim Baur <tbaur at panaso.com>
To: tom at FreeBSD.org
Cc: lindberg at id.wustl.edu
Subject: ezmlm-manage -N patch

You may want to add this patch to the fbsd ezmlm-idx port.

Currently, ezmlm-manage -N does not suppress the GOODBYE message as stated
in the man page. This patch fixes that problem.

-tbaur

       -N   Target addresses will not be  notified  if  they  are
            added/removed  from  the  subscriber  list  by remote
            admin or moderator action. Also, the target will  not
            be  notified  if they were successfully added/removed
            when the -S and -U switches, respectively, are  used.

http://marc.theaimsgroup.com/?l=ezmlm&m=102815382218955&w=2
http://marc.theaimsgroup.com/?l=ezmlm&m=102816492627689&w=2


diff -Naur ezmlm-0.53.orig/ezmlm-manage.c ezmlm-0.53/ezmlm-manage.c
--- ezmlm-0.53.orig/ezmlm-manage.c	Wed Jul 31 16:36:20 2002
+++ ezmlm-0.53/ezmlm-manage.c	Wed Jul 31 17:25:37 2002
@@ -1015,7 +1015,7 @@
         strerr_die2x(0,INFO,ERR_UNSUB_NOP);
       mod_bottom();
       if (r) {				/* success to target */
-	qmail_to(&qq,target.s);
+	if (flagnotify) qmail_to(&qq,target.s);
         if (flagverbose > 1) to_owner();
       } else				/* NOP to sender = admin. Will take */
         qmail_to(&qq,sender);		/* care of it. No need to tell owner */


More information about the freebsd-ports mailing list