Subject: save folder default names

From: Rudy Moore <[email-masked]>
Date: 3 Jan 1997 22:16:39 GMT

Is there any way to save a group of different e-mail addresses under a
single folder name?  Case in point is that more then a couple of my friends
e-mail me from different accounts, I'd like to be able to save them all
to the correct folder without having to manually type in the name of
the folder.

ie) Jonathan Price has [email-masked] and [email-masked]
as e-mail addresses.  When I hit 's' I'd like it to offer me [price] no
matter which address he e-mails me from.  But when I type 'price' in
the to: field of a compose, I'd like it to always go to lowry@central.
services.net.

I've figured out save-by-nick-then-by-sender, but I can't have multiple
addresses under the same nick, except by creating a mailing list.  And
I don't want to send to all of their addresses every time I send them
a message....

Adding a "folder name" field to the address book would fix this quickly.
Or perhaps keeping track of the folder name last used for a particular
receive address and then offering that as the default the next time
pine sees that address appear.  This second option involves adding a 
new (or appending to an existing) configuration file and is probably
more work but is potentially more powerful.

If you don't know of any way to do this in the existing system, could
you offer pointers on which files/what part of the code would need
modification?  I can program, but it seems like the pine-source learning
curve might be pretty steep.

Thank you!
-- 

Rudy Moore								a451j27 
A023H12    "Can't shake the devil's hand and say you're only kidding."  -- TMBG

---

From: Edward M Greshko <[email-masked]>
Date: Sat, 4 Jan 1997 19:14:08 +0800 (GMT)

> curve might be pretty steep.

	It seems that what you want to do is a bit out of scope for
what/how pine was designed to work.

	I'd suggest using a mail filter program such as "procmail" for
which you can design rather complex rules on how to save incoming mails.
This should solve your problem without modification to pine.

	Regards,

		Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287        6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197             Taipei, Taiwan R.O.C

---

From: [email-masked] (David Krinsky)
Date: 03 Jan 1997 21:01:45 -0500

> to the correct folder without having to manually type in the name of

Under Unix, I generally just make symlinks in this case;  it's not real
elegant, but it's highly effective and quick.

For those who don't already know this, an example:  my friend Fred Smith
has two email addresses, [email-masked] and [email-masked].  I have a folder
called "smith" with email from the latter, and I start getting things from
[email-masked].

~ % cd mail
~/mail % ln -s smith fred

Now, fred is a symlink to "smith", and if I just go ahead and save to
either, all mail will wind up in "smith".  Pine never knows the difference.

Dave.