Subject: pine.conf and location of sendmail binary

From: [email-masked] (Stuart Kendrick)
Date: 22 Aug 1996 19:26:06 GMT

I installed Pine, tried to send a message, and received an error to the
effect that Pine couldn't find /usr/lib/sendmail.  Aha! I thought, I
know what the problem is:  I've moved sendmail to /opt/local/sbin.  So
I created /opt/local/lib/pine.conf, consisting of the single line:

sendmail-path=/opt/local/sbin/sendmail

Tried sending the message again, and Pine (apparently) sent my test
message just fine.

But in fact, Pine is actually tossing mail into the bit bucket.  Copies
are saved to sent-mail, of course, but the message itself vanishes.

I've run Pine under truss and stared at the output.  I can see the call
to /opt/local/sbin/sendmail.

I hard-linked /usr/bin/sendmail to /opt/local/sbin/sendmail.  Same
problem.

I then removed /opt/local/sbin/pine.conf.  Bingo!  Things work again.

OK, so is this a bug or am I missing something?  And can anyone
describe the details of how this fails?  Clearly,
/opt/local/sbin/sendmail gets called ... but it tosses the message,
instead of sending it.  I don't understand how this can be --
sendmail's behavior at this point should be unrelated to any weirdness
on Pine's part.

Pine 3.95, Solaris 2.5.1

Attached are entries from syslog.  The first illustrates the failure
condition.  The second illustrates the successful condition.

Aug 22 12:20:01 spitbug sendmail[3945]: MAA03945: from=sbk, size=262,
class=0, p
ri=262, nrcpts=0,
msgid=<[email-masked]
rg>, relay=sbk@localhost

Aug 22 12:20:45 spitbug sendmail[3952]: MAA03952:
from=<[email-masked]>,
size=280, class=0, pri=30280, nrcpts=1,
msgid=<Pine.GSO.3.95.960822122039.3950A-
[email-masked]>, proto=SMTP, relay=sbk@localhost
Aug 22 12:20:47 spitbug sendmail[3953]: MAA03952:
to=<[email-masked]>, ctlad
dr=<[email-masked]> (18602/90), delay=00:00:02, xdelay=00:00:01,
mailer=e
smtp, relay=bug1.fhcrc.org. [140.107.10.110], stat=Sent (Ok)

--sk

Stuart Kendrick
Network Services
FHCRC

---

From: [email-masked] (Rich Wales)
Date: 27 Aug 1996 10:58:26 -0400

[email-masked] (Stuart Kendrick) wrote:

	. . . Pine couldn't find /usr/lib/sendmail. . . .
	I've moved sendmail to /opt/local/sbin.  So I created
	/opt/local/lib/pine.conf, consisting of the single line:

	Tried sending the message again . . . .  Pine is actually
	tossing mail into the bit bucket.

If you use "sendmail-path", you must also include all the command-line
options that you expect Pine to use when it calls Sendmail.  E.g.:

	sendmail-path=/opt/local/sbin/sendmail -bs -odb -oem

I got bit by this same thing a while back.

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