address if the user is local.
$Log$
+ Revision 590.103 2002/02/08 18:10:07 ajc
+ * When outputting a message in non-RFC822 format, don't display an Internet
+ address if the user is local.
+
Revision 590.102 2002/02/07 04:42:49 ajc
* Silently refuse to add directory entries for Internet addresses already
belonging to other users.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
msgkeys[k],
display_name);
}
+ /* Don't show Internet address for
+ * local users
+ */
+ else if (k == 'F') {
+ if (do_proto) if (TheMessage->cm_fields['N'] != NULL) if (strcasecmp(TheMessage->cm_fields['N'], config.c_nodename)) {
+ cprintf("%s=%s\n",
+ msgkeys[k],
+ TheMessage->cm_fields[k]
+ );
+
+ }
+ }
+ /* Masquerade display name if needed */
else {
if (do_proto) cprintf("%s=%s\n",
msgkeys[k],