Subject: Problem defining PINE_MAIL_PROTOCOL to SMTP

From: [email-masked] (MONSTER AXP)
Date: 30 Aug 96 21:17:30 GMT

I have a problem concerning the following excerpt from a readme file from 
HUJI (Pine 3.91 for vms):

<cut>
>
>Using
>=====
>  All the user needs is the PINE.EXE; Pine reads the mail from the user's
>VMS/MAIL files and send outgoing mail either via mail routines using some
>foreign protocol or via direct SMTP to some SMTP server (I preffer this
>metod). You use the latter by defining SMTP-SERVER field with some host.
>If you do not set it you must define PINE_MAIL_PROTOCOL to the prefix of
>|the foreign protocol used. For example, if you use SMTP% you have to define
>|it to SMTP.
>|The global PINE configuration file (if needed) is located at
>SYS$MANAGER:PINE.CONF; if you want to recompile it with a different name then
>modify PINE/OS_VMS.H;
>
<cut>
I need to define the PINE_MAIL_PROTOCOL to SMTP - but where do I do that ? ? 
and how do I do it ? ? 

>
>Notes:
>=====
>1. Due to the readonly definition in the source files we use an external
>   #define to redefine it to something else. Due to that CTYPE.H fails, so
>   we use a private copy of it.

Don't know if this has anything to do with it, but still has no clue what and
where to do define

Hope someone out there can help me

Thanks in advance..

/peter andersen

---

From: "Alan J. Flavell" <[email-masked]>
Date: Tue, 3 Sep 1996 19:55:37 GMT

On 30 Aug 1996, MONSTER AXP wrote:

(about the HUJI port of PINE to VMS)

> I need to define the PINE_MAIL_PROTOCOL to SMTP - but where do I do that ? ? 

That's something that you'd do in VMS, e.g in your LOGIN.COM or
in the system-wide counterpart, you'd add:

$ DEFINE PINE_MAIL_PROTOCOL SMTP

However, I got better results by taking the other option, and having
the PINE client send its mail by making an SMTP connection to the
SMTP server (even though it was on the same machine).  This may be 
less efficient, but it works for me.  I haven't messed with that for
a while, and my recollection is getting dim, but try 

http://ppewww.ph.gla.ac.uk/~flavell/vms-pine.html

for some notes I made at the time.

-- 

best regards

"Do the two dashes and a space count against my limit of 4 lines?"