On 11/02/11 12:31, Seb wrote:
> Hello,
>
> Thanks.
>
> I tried it with acl_m9 and exim start without warnings.
>
> But when I send a mail to the user1@localdomain, it stay in the local
> mailbox (not routed to the external SMTP).
>
> No errors reported in the log.
>
>    
[snip]
> And the part with the route for acl_m9 :
>
> ### router/00_exim4-config_header
> #####################################################
>
> ######################################################################
> #                      ROUTERS CONFIGURATION                         #
> #               Specifies how addresses are handled                  #
> ######################################################################
> #     THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT!       #
> # An address is passed to each router in turn until it is accepted.  #
> ######################################################################
>
> begin routers
>
>
> forward_not_quite_local:
> driver=manualroute
> condition=${if eq{acl_m9}{1}{1}{0}}
>    

You need

${if eq{$acl_m9}{1}{1}{0}}

i.e. the $ before acl_m9 is important.
> route_data=external_adress_of_smtp
> transport=remote_smtp
>
>
> Thanks in advance.
>
> Sebastien
>
>
>    

Hopefully that should sort it.



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