Subject: Pine 3.92 mail sending problems?

From: [email-masked] (Jon Trulson)
Date: 22 Mar 1996 17:02:06 GMT

I downloaded the Pine 3.92 source and compiled it on my DU box 
(OSF/1), it seems to work except when sending mail... As soon as I try to 
send mail, it immediately returns an Error, but does not tell me what that 
error is.  Nor is there any indication of an error in the pine-debug files.
I went into the source and noticed that the options passed to sendmail are 
different that the pine 3.91 version we have.  I changed the options to be 
the same as out pine 3.91, but now all it does is hang, with 'Sending %0' on 
the screen.  I then have to manually kill it from another xterm.

	Anyone else seen this problem?

--
--
Jon Trulson		Inet: (work) [email-masked]
Systems Programmer II       : (home) [email-masked]
Information Technology, Metropolitan State College of Denver, Colorado
Patent Pending 		FREE MARS!

---

From: [email-masked] (Ashok Aiyar)
Date: 22 Mar 1996 18:57:13 GMT

>the screen.  I then have to manually kill it from another xterm.

Yes!  I have seen this exact same problem on on two different 
different Linux boxes (one running sendmail-8.7.3, and the other
running sendmail-8.7.5).

On both computers, if I switch to sendmail-8.6.13, the "Error"
is no longer returned when I try to send mail using Pine, and 
the mail is sent okay.

On both computers, Pine 3.91 worked fine with sendmail-8.7.x.

Finally, as an interim solution, if I create a global pine
configuration file (/usr/local/lib/pine.conf) and edit the
line "smtp-server=" to read as "smtp-server=localhost", Pine 3.92
sends mail okay even with sendmail-8.7.x.

I would be interested in learning if you can duplicate any of
the observations I have made on OSF/1, and if the workaround
mentioned above works.

Cheers,
Ashok
--
Ashok Aiyar, Ph.D.
Department of Oncology                [email-masked]
Univ. of Wisconsin-Madison                    tel: (608) 262-6697

---

From: Clive Messer <[email-masked]>
Date: Sun, 24 Mar 1996 15:27:04 +0000 (GMT)

> different Linux boxes (one running sendmail-8.7.3, and the other

Same noted here with Linux/sendmail-8.7.5.

> sends mail okay even with sendmail-8.7.x.

Or add to pine/osdep/os-lnx.h.....

#define DF_SENDMAIL_PATH   "/usr/sbin/sendmail -oi -oem -t"

... to return to 3.91 behaviour.

Clive.
--
C Messer. Epos Systems. UK.  |
<[email-masked]>     |   "I pressed her thigh and death smiled."
<[email-masked]>   |    Jim Morrison.

---

From: [email-masked] (Rich Wales)
Date: 27 Mar 1996 11:17:47 -0500

[email-masked] (Ashok Aiyar) wrote:

	Yes!  I have seen this exact same problem on on two
	different different Linux boxes (one running sendmail-
	8.7.3, and the other running sendmail-8.7.5).

The problem may have something to do with the Sendmail command Pine is
using to send the mail.  I ran into the following two snags when I first
tried to bring up Pine 3.92 on a BSD/OS (BSDI) 2.01 system:

(1) Sendmail on this system is /usr/sbin/sendmail.  Pine was trying to
    invoke the nonexistent /usr/lib/sendmail, obviously without success.

    If Ashok's Linux system doesn't have a /usr/lib/sendmail, I suppose
    this could account for his problem.

(2) I examined my personal ".pinerc" file and included Sendmail's true
    path name as follows:       sendmail-path=/usr/sbin/sendmail

    However, mail still bounced, albeit in a slightly different way.
    Pine didn't give me any errors, but everything I tried to send wound
    up in my ~/dead.letter file.

    It turns out that if you use a "sendmail-path" value, you must give
    not only the path name to Sendmail, but also the command line argu-
    ments to be used when calling Sendmail.  The following configuration
    line seemed to work fine:

		sendmail-path=/usr/sbin/sendmail -oi -oem -t

In the end, since it happens that I have sysadmin-level control over the
system in question, I became superuser and created a symbolic link from
/usr/lib/sendmail to /usr/sbin/sendmail.  Presumably, I could have gone
into pine/osdep/os-bsi.h and changed the "#define SENDMAIL" to use the
correct path (i.e., /usr/sbin/sendmail).  Since setting up this link and
commenting out the "sendmail-path" line, I can send mail without diffi-
culty using Pine 3.92.

Rich Wales <[email-masked]>
http://yank.kitchener.on.ca/~richw/

---

From: [email-masked] (Jon Trulson)
Date: 23 Mar 1996 21:13:33 GMT

-----BEGIN PGP SIGNED MESSAGE-----

Ashok Aiyar ([email-masked]) wrote:
: On 22 Mar 1996 17:02:06 GMT, Jon Trulson <[email-masked]> wrote:
: >	I downloaded the Pine 3.92 source and compiled it on my DU box 
: >(OSF/1), it seems to work except when sending mail... As soon as I try to 
: >send mail, it immediately returns an Error, but does not tell me what that 
: >error is.  Nor is there any indication of an error in the pine-debug files.
: >I went into the source and noticed that the options passed to sendmail are 
: >different that the pine 3.91 version we have.  I changed the options to be 
: >the same as out pine 3.91, but now all it does is hang, with 'Sending %0' on 
: >the screen.  I then have to manually kill it from another xterm.
: 
: Yes!  I have seen this exact same problem on on two different 
: different Linux boxes (one running sendmail-8.7.3, and the other
: running sendmail-8.7.5).
[...]
: Finally, as an interim solution, if I create a global pine
: configuration file (/usr/local/lib/pine.conf) and edit the
: line "smtp-server=" to read as "smtp-server=localhost", Pine 3.92
: sends mail okay even with sendmail-8.7.x.
: 
: I would be interested in learning if you can duplicate any of
: the observations I have made on OSF/1, and if the workaround
: mentioned above works.

	That did work... That is: setting smtp-server to 'localhost'.
I compiled it on my unixware 2.03 box at home and had the exact same
sending problem.  Setting smtp-server to localhost worked there as
well.  This seems to be a (so far) workable solution on both the
machines I've tried it on (Digital Unix (OSF/1) 3.2d and Unixware
2.03). 

: Cheers,
: Ashok
: --
: Ashok Aiyar, Ph.D.
: Department of Oncology                [email-masked]
: Univ. of Wisconsin-Madison                    tel: (608) 262-6697
: 

- -- 

Jon Trulson			[email-masked]
Patent Pending 

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzCuhFAAAAEEALD2lrLtr9R9SXQTU3YzmNHK8dn6Og+iFQMwdhNwpyG3g8V2
44xsCN3aCqENY/GHpGa/v+/PDCzBkacfdeIl9B5APRR0TXyiRbrnHASv1uAMVnVa
KA8v9fuqIiOeSCpvpmJ1gcqDPv7TePTIjNCtVJRGfTaRwonwhSdnRfYurufRAAUR
tB1Kb24gVHJ1bHNvbiA8am9uQHJhZHNjYW4uY29tPg==
=MKC2
- -----END PGP PUBLIC KEY BLOCK-----