i'm not sure if the following request has been answered yet, but i, too,
have a similar need...
i have a quick and dirty email list setup like this:
in /etc/aliases i have... mylist: :include:/etc/people.list
the "people.list" file holds the email addresses (one per line). so now
when you email: mylist(_at_)domain(_dot_)com all the addresses in
"/etc/people.list"
receive the email. ok, wonderful... but now, i would like to have the
insertion of "Reply-To: mylist(_at_)domain(_dot_)com" in each outgoing message
so that
when a recipient does a simple "reply", it automatically gets directed
right back to the list.
i can make "mylist" an actual user, i suppose, and utilize a customized
ProcMail recipe, but i'm not sure what the recipe would look like...
help...
thank you,
- gary
At 12:22 AM -0500 12/7/96, charles marsh wrote:
I am using procmail to forward my mail to another account, but some mail
coming in needs to be sent to a distribution list. The signal for a
particular message to be sent to a distribution list is that the email
comes to charles+phil(_at_)yakko(_dot_)cs(_dot_)wmich(_dot_)edu instead of
charles(_at_)yakko(_dot_)cs(_dot_)wmich(_dot_)edu(_dot_)
I also want to adjust the reply-to address of these distributed messages
so they will automatically be returned to the list.
This part of my script currently reads:
--------------------------
:0
*
(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):.*ph
il(_dot_)*(_at_)(_dot_)*wmich(_dot_)edu(_dot_)*
{ :0 fhw # this should adjust the reply-to address for philos members
| formail -i "Reply-To:
charles+philos(_at_)yakko(_dot_)cs(_dot_)wmich(_dot_)edu"
! send to distribution list
}
---------------------
The first condition I mostly copied out of the man, so that should be
ok. It is in the action section that I fall down. I think I have the
inserting ot the reply-to done right, but I have no idea how to send to
a distribution list.
I'd like to have a file external to procmail, like members.list, and
have that file be a list of email addresses, one per line, to which the
email needs to be sent. This would make the common adjustments to the
list easier.
Or maybe the is a better way to setup a private listserv like this?