Xref: utzoo comp.mail.sendmail:2920 comp.unix.questions:29769 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) Newsgroups: comp.mail.sendmail,comp.unix.questions Subject: Re: What makes sendmail do this? Message-ID: <1991Mar25.234039.12654@ux1.cso.uiuc.edu> Date: 25 Mar 91 23:40:39 GMT Article-I.D.: ux1.1991Mar25.234039.12654 References: <542@motto.UUCP> <1991Mar25.091706.2722@athena.mit.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: Paul-Pomes@uiuc.edu Distribution: na Organization: University of Illinois at Urbana Lines: 37 jik@athena.mit.edu (Jonathan I. Kamens) writes: >In article <542@motto.UUCP>, murray@motto.UUCP (Murray S. Kucherawy) writes: >|> I'm working on configuring a sendmail daemon, and I have it completely >|> functional, except when receiving mail for local users, I get this: >|> >|> ----- Transcript of session follows ----- >|> mail: Options MUST PRECEDE persons >|> 554 ... unknown mailer error 5 >|> > > Well, since you did not provide your sendmail.cf file, I can only guess at >what the problem is, but a pretty good guess is that the command line >specification for the local mailer specification is screwed up. > > For example, my local mailer specification looks like this: > > Mlocal, P=/bin/mail, F=rlsDFMmn, S=8, A=mail -d $u > >I suspect you've got the "$u" and the "-d" switched, like this: > > Mlocal, P=/bin/mail, F=rlsDFMmn, S=8, A=mail $u -d > >At least, that's what the error message you're getting seems to imply. Another cause I've seen is that some /bin/mail programs don't like 'r' in the Flags section. Try it as Mlocal, P=/bin/mail, F=lsDFMmn, S=8, A=mail -d $u The best thing to do is to compare entries for the local mailer against a sendmail.cf file that's known to work on your system. -- Paul Pomes UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2910