Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 19:24:42 -0700 (PDT)
From:      Tim Baur <tbaur@panaso.com>
To:        ports@freebsd.org
Subject:   ezmlm-manage -N patch (fwd)
Message-ID:  <0304151918360.16010@neobe.cnanfb.pbz>

next in thread | raw e-mail | index | archive | help
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@panaso.com>
To: tom@FreeBSD.org
Cc: lindberg@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0304151918360.16010>