Is it possible to change the recipient in a transport_filter?

When I save the stdin to a file, I see 

--------------------------------------------------
Message-Id: <[email protected]>
From: [email protected]
Date: Sun, 10 Jan 2010 05:50:08 -0500

test data
--------------------------------------------------

So the recipient doesn't seem to be there to change





What I am trying to do is make it so when a message to an email for
[email protected] arrives, it looks the guid up in a database, gets the real
email address, and adds the email back in to the queue, this email address
may not be a local address...  any hints would be greatly appreciated. So
far this is what I have...

--------------------------------------------------
testing:
  driver = smtp
  transport_filter = /home/derek/exim/redirect.pl
--------------------------------------------------

Should I be using driver = pipe instead, then adding the message back using
bsmtp (not really sure what that is, but I see it in the spam assassin
config)



Derek
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4634 (20091124) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to