Hi,
havn't tried this, but looks like what you want.  I use procmail to filter
different incomgin To/CCs to different folders then use folder hok, but
this looks closer to what you want.
http://www.linuxcare.com/viewpoints/ap-of-the-wk/03-31-00.epl
**************************************************************************
Some of the mailto links on our web site forward to me. When I reply to
someone who writes to one of these aliases, I prefer to keep the mail alias
as the From: address in my reply. For example, when someone sends email to
coolapps@linuxcare.com to suggest a program for me to review [pardon the
blatant plug...], it forwards to me. When I hit reply, the From: line in
the email will contain coolapps@linuxcare.com instead of my main address
bneely@linuxcare.com. My .muttrc file accomplishes this with two lines:
set alternates = "kbeditor@linuxcare.com|coolapps@linuxcare.com"
set reverse_name
**************************************************************************
On Tue, 30 Jul 2002, David Neary wrote:
> I have 3 or 4 email addresses (which get used for different
> reasons), and I'd prefer not to mix them up. So I was wondering
> if anyone knows of a way that I can have mail (apart from list
> mail, which I have already sorted) which arrives to a certain
> e-mail address have the From: header in the reply automatically
> set to the address it came to.
>
> For example, say I have a company, and sales@company.com,
> info@company.com and tech@company.com arrive in the same mailbox.
> I don't want to reply to sales@company.com mails with the From:
> set to dave@company.com, I would like the mail to come from
> sales@company.com.
>
> Is there any way to do this? Bearing in mind that mail can arrive
> with my email in the To or Cc fields (and Bcc?), and it might be
> buried in a couple of dozen other recipients...
--
Irish Linux Users' Group: ilug@linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster@linux.ie

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 0D97C440F0
	for <jm@localhost>; Tue, 30 Jul 2002 06:12:45 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Tue, 30 Jul 2002 11:12:45 +0100 (IST)
from lugh.tuatha.org (root@lugh.tuatha.org [194.125.145.45]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6UAC0q20282 for
    <jm-ilug@jmason.org>; Tue, 30 Jul 2002 11:12:00 +0100
from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org
    (8.9.3/8.9.3) with ESMTP id LAA31610; Tue, 30 Jul 2002 11:09:40 +0100
from ie.suberic.net (owsla.ie.suberic.net [62.17.162.83]) by
    lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id LAA31573 for <ilug@linux.ie>;
    Tue, 30 Jul 2002 11:09:26 +0100
from owsla.ie.suberic.net (owsla [127.0.0.1]) by ie.suberic.net
    (8.11.6/8.11.6) with ESMTP id g6UA9PY29756 for <ilug@linux.ie>;
    Tue, 30 Jul 2002 11:09:25 +0100
From ilug-admin@linux.ie  Tue Jul 30 11:12:47 2002