Article View: news.software.readers
Article #14568Re: Use of ELM as your mailer in XRN?
From: Jonathan I. Kamens
Date: Fri, 13 Jan 1995 15:41
Date: Fri, 13 Jan 1995 15:41
42 lines
3045 bytes
3045 bytes
In article <3f4bcs$gk2@courier.urbana.mcd.mot.com>, amy@michael.austin.mcd.mot.com (Amy Moseley Rupp) writes: |> I use elm as my mailer in xrn: More accurately, you are *trying* to use elm as your mailer in xrn, and it's not working, hence your posting. |> !xrn*.mailer: /usr/ucblib/sendmail -oi -t |> xrn*.mailer: /local/bin/elm |> |> Notice that I used to use sendmail, which works fine, but I wanted to add the functionality |> of elm, i.e. autosave, auto-attach-.sig, aliases, etc. etc. However, when I invoke it, |> it seems to warp into an endless loop of scrolling through my elm options, everything |> locks up, and to recover, I have to kill xrn. You are confused about exactly what the "mailer" you tell xrn to use is supposed to do. What it needs to be able to do is to take a mail message on its standard input and deliver that message to the recipients specified in its header. In other words, you need to give xrn the name of a Mail Transport Agent, or MTA, to use. Elm is an interactive program which displays your current mail, allows you to send new messages, etc. In other words, elm is a Mail User Agent, or MUA, not an MTA. The "endless loop" you are seeing is because elm is treating the contents of the mail message which xrn is feeding it on standard input as elm commands, and, understandably, getting very confused as a result. I don't use elm, so I don't know if it has command-line options to say, "Take a mail message on standard input, and allow the user to do everything with it that you'd allow her to do when composing a message from inside elm, and then exit after the message is sent." If it has such options, then you need to specify them on the command line in your X resources. Alternatively, perhaps it has command-line options to say, "Read a mail draft from a specified file, allow the user to manipulate and send it, and then exit." In that case, you can write a shell script to save the message that xrn puts out into a temporary file, call elm with the correct command-line options on that file, and then remove it and exit. If neither of these is the case, then you're not going to be able to get xrn to do what you're trying to do. -- Jonathan Kamens | OpenVision Technologies, Inc. | jik@cam.ov.com
Technical Details
Message-ID:
<3f66uf$8do@pad-thai.cam.ov.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!pad-thai.cam.ov.com!usenetReferences:
<3f4bcs$gk2@courier.urbana.mcd.mot.com>Show Full Headers
Complete Article Headers
Message-ID: <3f66uf$8do@pad-thai.cam.ov.com> Subject: Re: Use of ELM as your mailer in XRN? Date: Fri, 13 Jan 1995 15:41:03 +0000 From: jik@cam.ov.com (Jonathan I. Kamens) References: <3f4bcs$gk2@courier.urbana.mcd.mot.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!pad-thai.cam.ov.com!usenet Newsgroups: news.software.readers Organization: OpenVision Technologies, Inc. Lines: 42 NNTP-Posting-Host: gza-client1.cam.ov.com