[comp.windows.x] Recording outgoing mail with xmh

sda@edc.UUCP (Stephen Ayers) (03/21/90)

I would like to be able to record all my mail messages sent via xmh (X11R4)
to a mail folder.  Standard Mail can do this with the "set record="
option.  Does MH (MH-6.6) offer this capability?

Thanks in advance
-- 
Stephen Ayers, Atex EDC, A Kodak Company
{sun,uunet,kodak}!atexnet!sda  | ..uknet!hwcs!edc!sda
+44 506 41 6778

converse@EXPO.LCS.MIT.EDU (Donna Converse) (03/22/90)

> I would like to be able to record all my mail messages sent via xmh (X11R4)
> to a mail folder.  Standard Mail can do this with the "set record="
> option.  Does MH (MH-6.6) offer this capability?

Yes, see the MH documentation on the -fcc option and Fcc component, and 
information related to how to specify these in mh-format(5), mh-mail(5),
repl(1), comp(1), forw(1), and mh-profile(5).

As an example: create the folder which will receive the messages, and 
include the following line in in your MH configuration file "components"
(for Fcc'ing newly composed mail messages) and optionally in "forwcomps"
(for Fcc'ing mail messages that you forward).

Fcc: foldername

And in .mh_profile, give the -fcc flag to repl (for replies you make):

repl: -fcc foldername

If you don't already have these MH configuration files in (the default
locations of) your Mail and home directory, respectively, you'll need to
study the documentation further and/or find an example of them from a friend 
or in the MH sources under support/general.


Donna Converse
converse@expo.lcs.mit.edu

kevinp@ashtate (Kevin Piette) (03/23/90)

MH offers a really nice feature called Folder Carbon Copies (Fcc) and if a
message contains a line of the form:
	Fcc: +outbox
A copy of the formatted message will be deposited into your 'outbox' folder
when sent.

I have the following line in my <mhmaildir>/components file to facilitate
automatic recording of messages I send:
	Fcc: +outbox
and this line in my .mh_profile for recording of any messages I reply to:
	repl: -annotate -inplace -fcc +outbox -nocc me

In addition this feature is nice as I get a chance to delete the fcc line
when editing the message if I don't want a given message recorded.
__