On tisdagen den 21 oktober 2008, Proskurin Kirill wrote:
> 1) How make a router on newmail which will check domain part of SENDER
> and send it to special MX.
>
> For example. If I wrote email from my [EMAIL PROTECTED] - send this mail
> to mx.domain.com. If from [EMAIL PROTECTED] senf it to mx.domain.org.

Should be possible to do with manualroute. You can use any string expansion 
with the route_data option. Don't look at route_list.

> 2) Same thing on MXs. If email RCPT TO domain part is *.com - send it to
>    newmail.com if to *.org - send it to newmail.org

This time you should be able to use a manualroute router with the route_list 
option set.

> 3) Then client send mail from one of newmails it relay it to mx, mx send
> it to recipient. I need to delete header "revived by newmail" then
> message arrives to MX. For all world it must be looks like it send from
> one of MX.

Simple headers_remove = Received on the router in (1), I guess. It's all or 
nothing, but at that point there should be only one.

> YES I know it is no good. But it is my task.

Indeed.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
## 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