[17991] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 8.4.7: zaway

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jul 13 19:16:06 2000

Message-Id: <200007132316.TAA01332@egyptian-gods.mit.edu>
To: Laura Baldwin <boojum@MIT.EDU>
cc: bugs@MIT.EDU
In-Reply-To: Your message of "Thu, 13 Jul 2000 15:05:35 EDT."
             <200007131905.PAA13603@geskekelud.mit.edu> 
Date: Thu, 13 Jul 2000 19:16:02 -0400
From: Greg Hudson <ghudson@MIT.EDU>

> To avoid loops, messages are not sent in response to messages
> beginning with "Automated reply:" or sent by the same Kerberos
> principal as the user running zaway."
 
This is correct in zephyr terminology; the relevant code is:

		if (strcmp(notice.z_sender,ZGetSender()) == 0 ||
		    strcmp(notice.z_opcode,"PING") == 0 ||
		    strcmp(notice.z_message,"Automated reply:") == 0) {
		     ZFreeNotice(&notice);
		     continue;
		}

Strictly speaking, the default zwgc.desc decomposes the "message" part
of a zephyr notice into two fields "signature" and "body".  zaway just
looks for "Automated reply:" at the beginning of the message,
independent of what fields it has.

I agree that the text is confusing to the naive user, and will think
about adding some explanatory text.

home help back first fref pref prev next nref lref last post