Re: [Exim] Literal domains

Top Page
Delete this message
Reply to this message
Author: Patrick Boutilier
Date:  
To: Syv Ritch
CC: exim-users
Subject: Re: [Exim] Literal domains
Did you restart exim after making your config changes?



Syv Ritch wrote:
> Hi exim-users,
>
> I am trying to migrate from a Windows MTA to Exim 4.20, so
> we need to have both running until the migration is
> complete.
>
> Both are behind a firewall that forwards all port 25 to the
> Windows box, so I need to forward by IP.
>
> The Windows box has a forward file to:
> froggy@???
>
> Exim replies:
>
> *** froggy@???
>    501 <froggy@???>: domain literals not allowed

>
> What am I missing?
>
> Here is the exim.conf
>
> ######################################################################
> #                  Runtime configuration file for Exim               #
> ######################################################################

>
> ##############################My changes
> domainlist local_domains = @:@[]:911networks.com:
> domainlist relay_to_domains = 192.168.1.0/24
> hostlist relay_from_hosts = 127.0.0.1::192.168.1.0/24
>
> ##############################My changes
> allow_domain_literals = true
>
> ##############################My changes
> #host_lookup = *
>
> ###############################
> domain_literal:
> driver = ipliteral
> domains = ! +local_domains
> transport = remote_smtp
>
> acl_smtp_rcpt = acl_check_rcpt
> never_users = root
> rfc1413_hosts = *
> rfc1413_query_timeout = 30s
> ignore_bounce_errors_after = 2d
> timeout_frozen_after = 7d
>
> begin acl
>
> acl_check_rcpt:
>   accept  hosts = :
>   deny    local_parts   = ^.*[@%!/|] : ^\\.
> ##############################My changes
>   accept  local_parts   = postmaster : froggy
>           domains       = +local_domains

>
>   require verify        = sender

>
>   accept  domains       = +local_domains
>           endpass
>           message       = unknown user
>           verify        = recipient

>
>   accept  domains       = +relay_to_domains
>           endpass
>           message       = unrouteable address
>           verify        = recipient

>
>
>   accept  hosts         = +relay_from_hosts

>
> accept authenticated = *
>
>   deny    message       = relay not permitted

>
> begin routers
>
> dnslookup:
> driver = dnslookup
> domains = ! +local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> # user = exim
> file_transport = address_file
> pipe_transport = address_pipe
>
> userforward:
> driver = redirect
> check_local_user
> file = $home/.forward
> no_verify
> no_expn
> check_ancestor
> # allow_filter
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
>
> # This router matches local user mailboxes.
>
> localuser:
> driver = accept
> check_local_user
> transport = local_delivery
>
>
> begin transports
>
>
> remote_smtp:
> driver = smtp
>
>
> local_delivery:
> driver = appendfile
> file = /var/mail/$local_part
> delivery_date_add
> envelope_to_add
> return_path_add
> # group = mail
> # mode = 0660
>
> address_pipe:
> driver = pipe
> return_output
>
> address_file:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
>
> address_reply:
> driver = autoreply
>
> begin retry
>
> # Domain               Error       Retries
> # ------               -----       -------

>
> *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h

>
> begin rewrite
>
> begin authenticators
>
>
> --
> Thanks
> syv@???
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>