🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #2612

Problems with sendmail-5.65c+IDA 1.4.4

#2612
From: Michel Fingerhut
Date: Sun, 30 Jun 1991 08:31
34 lines
1510 bytes
1.  NIS (YP) databases do not work correctly under Ultrix 4.1 (DEC/MIPS).
    Reason: last character of matched value as returned from yp_match is
    chopped off in daemon.c.  Suggested fix:


------- daemon.c -------
*** /tmp/da6850	Sun Jun 30 10:28:32 1991
--- daemon.c	Sun Jun 30 10:27:20 1991
***************
*** 921,929 ****
--- 921,931 ----
  		    yp_match(yp_domain, &db->db_name[1], lowkey,
  		    strlen(key), &result.dptr, &result.dsize) != 0)
  			result.dptr = NULL;
+ #ifdef sun
  		else
  			/* smash newline */
  			result.dptr[result.dsize--] = '\0';
+ #endif
  	}
  	else
  	{


2.  When a .forward file exists in the addressee's home dir, mail is sent both
    the the forwarding address(es) and to the addressee (which is incorrect, the
    addressee should not receive a copy unless specifically mentioned).  This
    has something to do with the newly introduced QSELFREF bit, but I have not
    figured a fix yet.

3.  newaliases is executable by *any* user, no matter what the permissions on
    the aliases and aliases.{dir,pag} files are.

Michael
Technical Details
Message-ID: <1991Jun30.083151.16887@ircam.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!corton!ircam!fingerhu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!corton!ircam!fingerhu
From: fingerhu@ircam.fr (Michel Fingerhut)
Newsgroups: comp.mail.sendmail
Subject: Problems with sendmail-5.65c+IDA 1.4.4
Message-ID: <1991Jun30.083151.16887@ircam.fr>
Date: 30 Jun 91 08:31:51 GMT
Sender: fingerhu@ircam.fr (Michel Fingerhut)
Organization: IRCAM, Paris (France)
Lines: 34