On Tue, May 07, 2013 at 12:41:40AM +0000, Dennis Chang [C] wrote:
> Right now, if I run a test using exim -bt [email protected] directly on 
> the Exim4 server, it does the following:
> 
> R: dnslookup_relay_to_domains for [email protected]
> [email protected]
>    router = dnslookup_relay_to_domains, transport = remote_smtp
>    host mx2.domain.com         [172.16.0.27] MX=200
>    host mx1.domain.com         [172.16.0.26] MX=200
...
> Also, I should note that I am using Ubuntu's update-exim4.conf command 
> and its directives to autogenerate the Exim4 configuration files. I'll 
> take any and all advice that works, and if you are able to describe the 
> solution in update-exim4.conf terms, that would be even better.
> 
> Currently, the update-exim4.conf.conf file reads like this:
> 
> dc_eximconfig_configtype='internet'
> dc_other_hostnames='cmpr01','domain.com'
> dc_local_interfaces=''
> dc_readhost=''
> dc_relay_domains='domain.com'
...

 I think Ubuntu's environment is very similar to Debian, and for Debian
 your configuration file is wrong: looks as 'domain.com' is local domain
 but "exim -bt" shows that it's really not. The reason is a syntax error:
 the dc_other_hostnames line should be written as

 dc_other_hostnames='cmpr01 : domain.com'

 Then, you should NOT put 'domain.com' into dc_relay_domains if you declare
 it as local in dc_other_hostnames. Usage of non-qualified name as 'cmpr01'
 should be avoided.

 After correction you get mails locally delivered. As for the back route
 to Exchange(s), the simplest way is to create additional alias for them,
 say "exchange.domain.com" (configure DNS and Exchange together), and
 forward filtered mail to <[email protected]>.
-- 
 Eugene Berdnikov

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

Reply via email to