How to get mail to log outgoing mail in folders automatically

How to get mail to log outgoing mail in folders automatically

Post by Homer Wilson Smi » Tue, 20 Jul 1993 15:53:50



     From a beginner,

     I am used to CMS mail which logs all outgoing mail automatically
in folders named by the nick name of the person mail is sent too.
Other mail is logged into OUTSEND MAIL, much like the AIX system I am
on now.

     I have looked at emacs mail, mail, and mh, and it is not clear to
me that this automatic logging is possible.  Do I have any options
including programming my own scripts etc?

     All outgoing mail should be automatically put in a folder with
the person's nick name at the folder name.

     Comments to RTFM are welcome.

     Homer

 
 
 

How to get mail to log outgoing mail in folders automatically

Post by Alan McBri » Wed, 21 Jul 1993 00:52:04


For mh and xmh I do the following;

Copy the following files from /usr/lib/mh to ~/Mail...
components
replcomps
forwcomps

Edit in the following line...
Fcc: <folder>

So, for example, my ~/Mail/replcomps file looks like this...

%(lit)%(formataddr %<{reply-to}%|%<{from}%|%{sender}%>%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%<{subject}Subject: Re: %{subject}\n%>\
Fcc: outbox
%<{date}In-reply-to: Your message of \
%<(nodate{date})%{date}%|%(tws{date})%>.%<{message-id}
             %{message-id}%>\n%>\
--------

Hope this helps, alan

--

  ----------------------------------------------

    Phone: +44 473 646077  Fax: +44 473 640279
       Mail: mlb 5 51, bt labs, ip5 7re, uk  
       ------------------------------------    

 
 
 

How to get mail to log outgoing mail in folders automatically

Post by Mumit Kh » Wed, 21 Jul 1993 03:29:55



>For mh and xmh I do the following;

>Copy the following files from /usr/lib/mh to ~/Mail...
>components
>replcomps
>forwcomps

>Edit in the following line...
>Fcc: <folder>

shouldn't it be ``Fcc: +outbox''?

Quote:

>So, for example, my ~/Mail/replcomps file looks like this...

>%(lit)%(formataddr %<{reply-to}%|%<{from}%|%{sender}%>%>)\
>%<(nonnull)%(void(width))%(putaddr To: )\n%>\
>%<{subject}Subject: Re: %{subject}\n%>\
>Fcc: outbox

^^^^^^^^^^^^^

Quote:>%<{date}In-reply-to: Your message of \
>%<(nodate{date})%{date}%|%(tws{date})%>.%<{message-id}
>             %{message-id}%>\n%>\
>--------

>Hope this helps, alan


 
 
 

How to get mail to log outgoing mail in folders automatically

Post by Alan McBri » Fri, 23 Jul 1993 22:59:48



|>
|> >Edit in the following line...
|> >Fcc: <folder>
|>
|> >So, for example, my ~/Mail/replcomps file looks like this...
|>
|> >%(lit)%(formataddr %<{reply-to}%|%<{from}%|%{sender}%>%>)\
|> >%<(nonnull)%(void(width))%(putaddr To: )\n%>\
|> >%<{subject}Subject: Re: %{subject}\n%>\
|> >Fcc: outbox
|>
|> shouldn't it be ``Fcc: +outbox''?

...perhaps, but mine seems to work fine as it is.  I can't
find documentation of 'Fcc' just now, but I guess it means
'file carbon copy', and I guess xmh (if not mh) is clever
enough to realise it should file to a folder.

  ----------------------------------------------

    Phone: +44 473 646077  Fax: +44 473 640279
       Mail: mlb 5 51, bt labs, ip5 7re, uk  
       ------------------------------------    

 
 
 

How to get mail to log outgoing mail in folders automatically

Post by <IEM.. » Tue, 27 Jul 1993 08:52:42


On the other hand if you are using mailx/mail, you can edit your .mailrc
file and add the following line:
set record=full_pathname_of_file_I_want_my_mail_to_be_logged_in
Hope this helps
==================================================================
Imed Eddine Mbarki      || He who does not learn mountain climbing
Pennsylvania state U.   ||      Will spend all his life in holes.