[comp.mail.elm] Storing received/sent mail by user name

sean@utodaycom (Sean Fulton) (11/23/90)

How do I teach ELM 2.3 to store received and sent mail by name of
addresee? I edited .elm/elmrc and the best I can get is sent mail
stored by name, but received still winds up in =received. I need them
both.

-- 
Sean Fulton					sean@utoday.com
UNIX Today!					(516) 562-5430
 /* The opinions expressed above are not those of my employer */

s887212@minyos.xx.rmit.oz.au (Stephen Riehm [Romulis]) (11/25/90)

sean@utodaycom (Sean Fulton) writes:

>How do I teach ELM 2.3 to store received and sent mail by name of
>addressee? I edited .elm/elmrc and the best I can get is sent mail
>stored by name, but received still winds up in =received. I need them
>both.

I found the easiest way to accomplish this is to save the mail you want
saved either :-
by using filter to save them automatically for you OR
by saving the mail after you read it using the '>' command.. this
will prompt you for a folder name.. giving the users name as the default.

I personally use the second method.. I also dont let it delete messages
until I mark them for deletion.. either by typing 'd' or by saving them
('>' automatically marks the note for deletion)

II don't think ELM can do it for you automatically.

One further question tho.. is it possible to have Elm save notes in folders
in REVERSE order?? ie: most recent first?                           ^^^^^^^
This is an option available in mailx.. and I quite liked to be able to look
up the most recent stuff quickly.. This isn't a great problem.. more of
nuisance quality than anything else. (less pages backwards also thankfully)

the relevant flags in the elmrc file for saving mail in the folders etc
are...

--- elmrc options for providing automatic saving of sent mail in folders ---

#
# .elm/elmrc - options file for the ELM mail system

# where to save received messages to, default file is "=received"
receivedmail = =received
# where to save copies of outgoing mail to, default file is "=sent"
sentmail = =sent
{ note these options never actually gets used so they can be left blank}

# where to save my mail to, default directory is "Mail"
maildir = /u1/s88/s887212/mail

# should the default be to delete messages we've marked for deletion?
alwaysdelete = ON

# should the default be to store read messages to the "received" folder?
alwaysstore = OFF

# should the default be to keep unread messages in the incoming mailbox?
alwayskeep = ON

# save a copy of all outbound messages?
copy = ON

# save outbound messages by login name of sender/recipient even if the
# associated folder doesn't already exist?
forcename = ON

# should we keep folders from which all messages are deleted?
keepempty = OFF

# save messages, incoming and outbound, by login name of sender/recipient?
savename = ON

--- end of elmrc options ---

============================================================================
Romulis [Stephen Riehm]	            Royal Melbourne Institute of Technology,
					       (124 Latrobe St., Melbourne.)
s887212@minyos.xx.rmit.oz.au					   Australia.

@>---`--,--( Still Stuck on the wrong side of the deep pink sea )--.--'---<@
======================< Insert Usual Disclaimer >===========================

s887212@minyos.xx.rmit.oz.au (Stephen Riehm [Romulis]) (11/25/90)

sean@utodaycom (Sean Fulton) writes:

>How do I teach ELM 2.3 to store received and sent mail by name of
>addressee? I edited .elm/elmrc and the best I can get is sent mail
>stored by name, but received still winds up in =received. I need them
>both.

I found the easiest way to accomplish this is to save the mail you want
saved either :-
by using filter to save them automatically for you OR
by saving the mail after you read it using the '>' command.. this
will prompt you for a folder name.. giving the users name as the default.

I personally use the second method.. I also dont let it delete messages
until I mark them for deletion.. either by typing 'd' or by saving them
('>' automatically marks the note for deletion)

I don't think ELM can do it for you automatically.

One further question tho.. is it possible to have Elm save notes in folders
in REVERSE order?? ie: most recent first?                           ^^^^^^^
This is an option available in mailx.. and I quite liked to be able to look
up the most recent stuff quickly.. This isn't a great problem.. more of
nuisance quality than anything else. (less pages backwards also thankfully)

the relevant flags in the elmrc file for saving mail in the folders etc
are...

--- elmrc options for providing automatic saving of sent mail in folders ---

#
# .elm/elmrc - options file for the ELM mail system

# where to save received messages to, default file is "=received"
receivedmail = =received
# where to save copies of outgoing mail to, default file is "=sent"
sentmail = =sent
{ note these options never actually gets used so they can be left blank}

# where to save my mail to, default directory is "Mail"
maildir = /u1/s88/s887212/mail

# should the default be to delete messages we've marked for deletion?
alwaysdelete = ON

# should the default be to store read messages to the "received" folder?
alwaysstore = OFF

# should the default be to keep unread messages in the incoming mailbox?
alwayskeep = ON

# save a copy of all outbound messages?
copy = ON

# save outbound messages by login name of sender/recipient even if the
# associated folder doesn't already exist?
forcename = ON

# should we keep folders from which all messages are deleted?
keepempty = OFF

# save messages, incoming and outbound, by login name of sender/recipient?
savename = ON

--- end of elmrc options ---

============================================================================
Romulis [Stephen Riehm]	            Royal Melbourne Institute of Technology,
					       (124 Latrobe St., Melbourne.)
s887212@minyos.xx.rmit.oz.au					   Australia.

@>---`--,--( Still Stuck on the wrong side of the deep pink sea )--.--'---<@
======================< Insert Usual Disclaimer >===========================

lrb@rrivax.rri.uwo.ca (Lance R. Bailey) (11/26/90)

the most of this thread is orientated towards filing and organizing
mail EASILY after you have read it.

i find it much easier to have mail do the sorting FOR you upon arrival.
when my mail comes in, the words of the Subject: line are used as
possible mail folders. if i have a folder of that name defined, i use
use it to store the message. If all fail, i use the name of the sender 
(with @... part stripped of).  

i also have daemon that runs while i am logged in to let me know which
folders have been updated.

if interest warrants, i will put in my anon ftp area.

Lance R. Bailey, Systems Manager 
================================   box: Robarts Research Institute
email: lrb@rri.uwo.ca                   Clinical Trials Resources Group
  fax: 519.663.3789                     P.O. Box 5015, 100 Perth Dr.
  vox: 519.663.3787 ext. 4108           London, Canada N6A 5K8

rob@mtdiablo.Concord.CA.US (Rob Boldbear) (11/28/90)

In article <1837@utodaycom> sean@utoday.UUCP (Sean Fulton) writes:
>How do I teach ELM 2.3 to store received and sent mail by name of
>addresee? I edited .elm/elmrc and the best I can get is sent mail
>stored by name, but received still winds up in =received. I need them
>both.

When you 'q' or 'Q' elm in your mail spool folder and messages get
saved, they get saved to the received_mail file (default: =received).

To save mail to another folder, you must use the 's' command.
-- 
Rob Bernardo                             Mt. Diablo Software Solutions    _ /
email: rob@mtdiablo.Concord.CA.US        phone: (415) 827-4301           <_/_><
"Putting dogma ahead of people is the antithesis of compassion.  But      /
that's exactly what many avowed Christians who profess `compassion' do." -Me