Solved

Generating Reply-To Field

Posted on 1997-05-28
3
699 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.
0
Comment
Question by:Robbins012597
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
sherwood earned 100 total points
ID: 1812277
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
 

Author Comment

by:Robbins012597
ID: 1812278
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
 
LVL 1

Expert Comment

by:sherwood
ID: 1812279
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now