I was wondering if I can not use a simple pipe for my delivery like this:

Added cedric .forward
pipe "/usr/exim/bin/exim -C /usr/exim/configure.exchange"

/usr/exim/configure.exchange *contains only router to remote exchange 
2003* so it force the mail to cedric to be sended to exchange...

However it's seems to not work, when sending a mail I got this error in 
/var/log/exim_mainlog

2006-08-01 13:17:59 1G7sG7-00069u-Gn ** |/usr/exim/bin/exim -C 
/usr/exim/configure.exchange <[EMAIL PROTECTED]> R=userforward 
T=address_pipe: Child proces
s of address_pipe transport returned 1 from command: /usr/exim/bin/exim

Curiously if I do
cat /etc/issue | /usr/exim/bin/exim -C /usr/exim/configure.exchange 
[EMAIL PROTECTED]

It work perfectly and I receive the mail on exchange....


Cédric MARCOUX (sprimont) a écrit :
> Yes but changing the router order will not provide me the ability to 
> forward mail to certain user on a remote smtp, isn't it???
> 
> Christian Schmidt a écrit :
>> Hello Cédric,
>>
>> "Cédric MARCOUX (sprimont)", 01.08.2006 (d.m.y):
>>
>>> I currently using Exim as a first barricade for my Exchange Server 2003...
>>> I mean that all my mail comes directly on my Linux Box port 25 using Exim.
>>>
>>> I have set my Exim to deliver all the receiving mail to my remote 
>>> exchange using this transport:
>>>
>>> exchange2003:
>>>         driver = manualroute
>>>         domains = +local_domains
>>>         transport = remote_smtp
>>>         route_list = * 192.168.123.254
>>>         unseen = true
>>>
>>> In this way, I keep a copy of all the mail in my linux box.
>>>
>>> However, I'm searching a way to bounce messages to my exchange for only 
>>> certain users cause this router bounce all the message without any 
>>> analysis of .forward .vacation aso...
>> What about changing the routers' order?
>>
>> (Look for "ORDER DOES MATTER" in your exim.conf...)
>>
>> Regards,
>> Christian Schmidt
>>
> 
> 


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

Reply via email to