| So it is not recognizing "[email protected]" as being a local address and | is then relaying it out to the remote MX1 and MX2. | | I need to trap this particular address here on this Exim4 server and | only redirect other emails in the same domain (especially | [email protected]) out to the remote MX1 and MX2. | | How do I do this?
My opinion is that you want to write your exim.conf from scratch instead of trying to coerce the general Debian/Ubuntu one into doing what you want. In theory it should have a very simple structure for routers: - a router that matches just [email protected] and runs it through your processing - a router that sends everything @domain.com off to the Exchange machines - a dnslookup router to handle outside domains (you need this to at least verify incoming MAIL FROMs) Add some SMTP ACLs, a couple of transports, some global settings (eg that your default domain is domain.com), maybe redirect 'root@<thishost>' off to some other @domain.com address, and some retry rules and you're done. While Exim configuration may look scary, it is honestly not that difficult to write a configuration if you follow through the manual. You can also start from the merged Ubuntu configuration and cut it down and alter it if that's easier (but you'll be doing a lot of cutting and you won't necessarily understand it as well as if you wrote a configuration from scratch). - cks -- ## List details at https://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/
