We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Generating Reply-To Field

Robbins012597
on
Medium Priority
757 Views
Last Modified: 2013-12-16
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.
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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.

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.