2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Sending incomming e-mails...
FromSent OnAttachments
Mark CookeFeb 2, 2006 3:37 am 
Mark CookeFeb 2, 2006 3:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Sending incomming e-mails to another domain, but altering the headers.Actions...
From:Mark Cooke (mark@twentyfive.co.uk)
Date:Feb 2, 2006 3:37:41 am
List:net.sourceforge.lists.courier-maildrop

Hi,

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 vma@mydomain.com, 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 rule, i.e:

# ======================================================= # This forwards an email to another domain if ( /^Subject: Forward Me/ ) { exception { log "-------------------- me" # Add for reformail command here? to "!some@domainxyx.com" } }

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?

Thanks

Mark