[exim] forward entire domain

Top Pagina
Delete this message
Reply to this message
Auteur: Daniele Gallarato
Datum:  
Aan: exim-users
Onderwerp: [exim] forward entire domain
Hello all.
I have an exim4 server working properly for my local domains.
Now I need to use my server to receive email for another domain, for
antispam control, but I don't want that this domain is managed by my
server, but only that make antispam control, then forward all mail to
old domain server.
In practice, I need to configure my backend server, to act as a frontend
server for a new domain.

Server is debian.

I've tried this configuration in exim4.conf.template

router3:
driver = manualroute
domains = newdomain.it
route_data = 192.168.8.1
transport = remote_smtp

where newdomain.it is domain to forward and 192.168.8.1 is actually MX
of domain.

If I try to send an email to this new domain, exim4 send it using MX
record from dns, and ignore my Router3 configuration.

Maybe I'm wrong in some details :)

Thanks
Daniele

--
_______________________________________________________________________
I can learn to close my eyes - To anything but injustice
I can learn to get along - With all the things I dont know

-- http://www.baitapaiei.it/ --
_______________________________________________________________________