[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 741
  • Last Modified:

Generating Reply-To Field

I would like to configure mail for one of my unix accounts to work in the following manner:  (i) each message sent to the account should be automatically forwarded to a list of users on the internet and (ii) each forwarded message should have a "reply-to" field of my choice added.  I suppose that I could use a combination of formail and procmail but I was wondering if there was a simpler way using only simple .mailrc and .forward files.
0
Robbins012597
Asked:
Robbins012597
  • 2
1 Solution
 
sherwoodCommented:
Check out listserv & majordomo.  Both are mailing list managers
and do a lot to automate how lists are handled.

However formail & procmail are a pretty easy answer.
0
 
Robbins012597Author Commented:
I am fully aware of majordomo and listserv but am not in a position to have them installed on my ISPs computer.  Moreover, they are overkill for what I am trying to do.  My question really boils down to whether I can insert something in a .mailrc file that will generate a Reply-To field and whether the .forward mechanism will make use of whatever I happen to place in my .mailrc file both with respect to generating a Reply-To header and for use of aliases.
0
 
sherwoodCommented:
Ah!  This makes more sense.  
I think that .mailrc is used only by Berkeley Unix's Mail
program.  Reading my man page for it, it only can
only do what you could do with a set command within mail.

Ok.  I think that fastmail is your best bet.  Fastmail
is part of the elm package.  It has a flag for setting
the reply to.  Documentation has an example script for
mailing a message to a large list.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now