Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!ucbvax!BUCKAROO.ICS.UCI.EDU!jromine From: jromine@BUCKAROO.ICS.UCI.EDU (John Romine) Newsgroups: comp.mail.mh Subject: Re: post(8) setuid and MH 6.7 Message-ID: <19524.663276915@buckaroo.ics.uci.edu> Date: 7 Jan 91 19:35:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 33 gorpong@ping.chi.il.us (Gordon C. Galligher) writes: >I use sendmail without the /smtp option... it gives me an error > [510]: only root, daemon, and mmdf may set host information >...post is attempting to tell sendmail that it is a specific user. Close. MH and Sendmail are having a disagreement on what your system's hostname is. Making "post" setuid is a bad thing. Don't do that. o Is making post setuid a Real Bad Idea? Yes. Real real bad. >I am having problems >with the 'From: ' attribute ...it attributes: > From: Gordon C. Galligher >on all mail. Should this not be: > >In the mtstailor file I have > localname: ping.chi.il.us > systemname: ping.chi.il.us Hmm. I'm not that familiar with the SYS5 parts of the code, but it appears that MH is using the "uname(2)" syscall to determine your hostname. Perhaps you need to set this? Another try would be to compile the hostname into MH using the "locname" option in the MH config file. BTW, be sure to pick up the MH 6.7.1 update from ics.uci.edu. There is an archive server available if you don't have FTP. Send a message containing the word "help" to "archive-server@ics.uci.edu" for help. You want "pub/mh/update-6.7/MH.6.7.1". -- John Romine