From: Mark Cooke <mark.cooke@tw...> - 2006-02-02 11:37:25
I'm trying to send some incoming mails with a specific subject to
another email address, this I have working no problem, but I need to
alter the headers fist, before sending.
As when the external account gets the email that I'm forwarding on, it
still has the To: as being myself and also the Reply-To:, is the actual
account that is sending the email. I'm running Virtual users, so the
Reply-To: is vmail@..., rather than original sender.
Looking at the man pages, am I correct in thinking that I would need to
use 'reformail' to reformat the headers first, then add the forward
# This forwards an email to another domain
if ( /^Subject: Forward Me/ )
log "-------------------- me"
# Add for reformail command here?
But looking through the man pages I cannot see for certain, what the
command(s) I would need to use and would I pipe it out to Sendmail?
From: Mark Cooke <mark.cooke@tw...> - 2006-02-02 11:55:00
I done a typo in the previous email, I should of said the Return-Path,
rather than the Reply-To path.
I've got reformail to add extra headers, so that is in the correct
place, but I'm still struggling to alter the Reply-To and Return-Path,
to be the original sender.