Subject: Sendmail and Pine

From: [email-masked]
Date: 16 Nov 1995 08:38:55 +0100

Hello!

Well I did set up sendmail 8.7.1 and it works fine with elm, but Pine
introduces its own From: line to sendmail and sendmail respects that.

How would one stop pine to introduce that line?

Because of that I can't get First.Last@host working with pine.

Regards,
	Iztok

---

From: [email-masked]
Date: Thu, 16 Nov 1995 19:38:57 +0100 (MET)

No you can't.

You now have two options:

1) use Reply-To:
   From the (S)etup/(C)onfig screen add "Reply-To: <your email>" to the customized-hdrs list

2) recompile with allowance to override the From: field. This is somewhere in the os-dependent files
   I don't recall the exact name, but grep for FROM and you should find it.

Ciao,
 Michael

PS: Where is si? I know of se for sweden, but si? (Just curios, never mind:-) )

> Because of that I can't get First.Last@host working with pine.

================================================================
Michael J. Joswig              [email-masked]
o be or nut^H^H^H -- sh^Gt, how do I delete..^D^D^D Oh No Oh
NO^D^D^D -- How do I get out of this thing anyway (mumble mumble)
Bus error (core dumped)

---

From: Sven Guckes <[email-masked]>
Date: 17 Nov 95 21:18:35 GMT

[email-masked] writes:
>[email-masked] wrote:
 [snip]
>Where is si? I know of se for sweden, but si?  Just curios, never mind:-)

Slovenia.  See ISO3166 for the whole list.
Btw, the three letter code "com" stands for the "Comores".  :-)

I have the third edition of the iso3166 as of 940210 where the latest
addition was the "Kingdom of Cambodia"(kh) on 940126.

And before someone asks - "de" is neither "Denmark" nor "Delaware".

Sven
--
http://www.math.fu-berlin.de/~guckes/.signature

---

From: [email-masked]
Date: 18 Nov 1995 15:17:59 +0100

>PS: Where is si? I know of se for sweden, but si? (Just curios, never mind:-) )

Slovenia.

South of Austria, north of Croatia, east of Italy and west of Hungary.

And next to Adriatic sea as well.

Regards,
	Iztok

---

From: [email-masked] (Jerry Lynch)
Date: 18 Nov 1995 12:45:06 -0500

There are two possiblities:

1) You can have pine change the FROM line as a customized header IF that 
functionality is compiled into pine.  The file you need to change is: 

pine3.91/pine/osdep/os-xxx.h

Just change the flag ALLOW_CHANGING_FROM and recompile.

2) THE SENDMAIL SOLUTION:

Set up sendmail's USERDB and verify that it works when you use sendmail 
directly or with some other MUA such as "elm".

Then, in your /etc/sendmail.cf file, add the following line before the 
rulesets.  (I put mine right after the line saying "Kdequote dequote" and 
before the "Special Macros" section"):

# Define our userdb file for pine rewrites
Kuserdb btree -o /etc/userdb.db

Then, add the following ruleset #1.  (I put mine right after Ruleset 0):

##################################################
### Ruleset 1, rewrite sender header & envelope ##
##################################################
#Thanks to Bjart Kvarme <[email-masked]>
S1
R$- < @ $=w . > $*      $: $1 < @ $2 . > $3 ?? $1       username@localhost ?
R$+ ?? $+               $: $1 ?? $(userdb $2 : mailname $: @ $)
R$+ ?? @                $@ $1                           Not found
R$+ ?? $+               $>3 $2                          Found, rewrite

#NOTE      ^^^^^^^^^^^^^       ^^^^^^^^^^^^^^^^^^^^^^^^^
#          Use Tab Characters  Use Tab Characters in these regions
# to make three columns (the line with "mailname" only has 2 columns).

This is how mine is set up and it works great without having to alter
pine's code.  (Although, I did find it it helpful to add the following to
either the system wide pine.conf, pine.conf.fixed, or your personal
.pinerc: 

user-domain=localhost

since I still had some troubles without that line.  Try it both with and 
without this pine setting.  NOTE: I literally used 'localhost', I did not 
use my local hostname.)

I hope this helps.

Jerry	<[email-masked]>

---

From: Nicole Claire Tapper <[email-masked]>
Date: 23 Nov 1995 20:22:20 GMT

What are ya at?

---

From: Nicole Claire Tapper <[email-masked]>
Date: 23 Nov 1995 20:22:26 GMT

What are ya at?