Xref: utzoo comp.unix.xenix:4521 comp.unix.questions:11159 Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!purdue!mailrus!cornell!rochester!kodak!gizzmo!lazlo!ccs From: ccs@lazlo.UUCP (Clifford C. Skolnick) Newsgroups: comp.unix.xenix,comp.unix.questions Subject: Re: Xenix mail system Keywords: xenix, mail Message-ID: <126@lazlo.UUCP> Date: 18 Jan 89 06:44:43 GMT References: <417@ispi.UUCP> Reply-To: ccs@lazlo.UUCP (Clifford C. Skolnick) Organization: The Steam Tunnel, Henrietta, NY Lines: 53 In article <417@ispi.UUCP> jbayer@ispi.UUCP (Jonathan Bayer) writes: > [Discusion of Xenix mail system and desire to replace] >...I have received a >copy of an lmail replacement from Jon Zeeff. It looks good, but I do >want some more input since the comments state that it has not been fully >checked out. I checked it out, It looked secure except for two things. I check that in order for the program to send mail to a program, two things are checked. 1) the program specified is a full path name 2) the user being mailed to owns the file directing transfer to a program. Here are the diffs to the version posted to the net: -----Cut Here----- #!/bin/sh # shar: Shell Archiver (v1.22) # # Run the following text with /bin/sh to create: # lmail.diff # sed 's/^X//' << 'SHAR_EOF' > lmail.diff && X345a346,349 X> if (statbuf.st_uid!=pwd->pw_uid) { X> fclose(in_file); X> continue; X> } X366a371,374 X> if (statbuf.st_uid!=pwd->pw_uid) { X> fclose(in_file); X> continue; X> } X480a489,492 X> if (dest[1]!='/') { X> (void) fprintf(stderr, "\nCan only pipe to a full path name.\n",dest); X> return(8); X> } SHAR_EOF chmod 0644 lmail.diff || echo "restore of lmail.diff fails" exit 0 -----cut here----- >-- >Jonathan Bayer Beware: The light at the end of the >Intelligent Software Products, Inc. tunnel may be an oncoming dragon >19 Virginia Ave. ...uunet!ispi!jbayer >Rockville Centre, NY 11570 (516) 766-2867 jbayer@ispi -- Cliff Skolnick (ccs@lazlo)| "You told me time makes it easy, but you never Phone: (716) 427-8046 | told me time stands still" - Gary Numan TCP/IP: 44.68.0.195 | ...!rutgers!rochester!ritcv!ritcsh!sabin! lazlo!ccs ccs@lazlo.n1dph.ampr.org| \!kodak!pcid!gizzmo!/