Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!sunybcs!dsinc!cgh!paul From: paul@cgh.UUCP (Paul Homchick) Newsgroups: comp.sys.next Subject: Re: Extra s in mail Keywords: LF CR end-of-line Message-ID: <1092@cgh.UUCP> Date: 8 Apr 90 11:51:37 GMT References: <1090@cgh.UUCP> <460@toaster.SFSU.EDU> <1091@cgh.UUCP> <1990Apr7.233244.2340@advantg> Reply-To: paul@cgh.UUCP (Paul Homchick) Organization: Chimitt Gilman Homchick, Inc. Lines: 41 Brad Kollmyer writes: >I've also had the same problem. Mail that I send you other unix systems >has a ^M appended at the end of every line. I am using the standard >sendmail.cf as supplied by NeXT. Is there a way to disable the addition >of ^M at the end of each line. I've been told by NeXT that the ^M is >added my the Mail application. With some help from Eric Scott (thanks!) this problem has been solved. The version of sendmail distributed with the NeXT evidently has a bug which assummes if the mail is going out to a remote site, it must be going out over the internet and so it needs \r\n at the end of lines. It is not supposed to work like that, but you can fix it. In sendmail.cf you will find a line like this: Muucp, P=/usr/bin/uux, F=msDFMhuU, S=13, R=23, A=uux - -r $h!rmail ($u) Modify it by adding an explicit E=\n to force a LF only at line end as follows: Muucp, P=/usr/bin/uux, F=msDFMhuU, S=13, R=23, E=\n, A=uux - -r $h!rmail ($u) >Also is there a way to modify sendmail.cf so that if a host is not >recognized, then the message is sent on to a smart router for further >processing? Yes, note the following near the beginning of the sendmail.cf file: # major relay host: use the $M mailer to send mail to other domains # To have mail automatically forwarded to other domains, you should # replace this with the name of your major relay host. DR mail-relay CR mail-relay Change the 'mail-relay' to the name of your local forwarding site. -- Paul Homchick :UUCP {rutgers | uunet} !cbmvax!cgh!paul Chimitt Gilman Homchick, Inc. :Internet cgh!paul@dsi.com 259 Radnor-Chester Rd, Suite 140 :MCI PHOMCHICK Radnor, PA 19087-5299 :GEnie HOMCHICK