Solved

How to forward transparently using Procmailrc?

Posted on 1999-01-17
3
277 Views
Last Modified: 2012-05-04
I've got an email going from point A to point B.  I'd like to forward
that email (at point B - using procmail) to point C.  However, is
there a way to do it so that it doesn't appear the message has been
forwarded?  Here's the problem:

Message a:

From:A
To: B
Subject: Please call
Please give me a call at home


When message gets forwarded, it looks like this:
from: B
to: C:
Subject: Please Call
>from A
>To: B
>Subject: Please call
>Please give me a call

What I'd like it to look like, comming to C is:
From: A
To: C
Subject: Please call
Please give me a call

Is this possible?  If so, how?
0
Comment
Question by:alweiner
3 Comments
 

Expert Comment

by:adum
ID: 2009249
In pine, you can use the 'bounce' command.
adum
0
 
LVL 1

Expert Comment

by:ian010997
ID: 2009250
Why don't you just do this with sendmail?
0
 

Accepted Solution

by:
meskola earned 50 total points
ID: 2009251
in your home directory do this:

echo my.new.email@newhost.com > .forward

this will automatically forward your incoming mail to the emailadress specified in your .forward
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

948 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

18 Experts available now in Live!

Get 1:1 Help Now