Re: [exim] redirect logging for few domains

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
A: VLADIMIR ILYAKOV
CC: <exim-users@exim.org>
Assumpte: Re: [exim] redirect logging for few domains

On 7 Jul 2011, at 10:40, VLADIMIR ILYAKOV wrote:

> Hello,
> I've set up exim to work with a few domains. Everything is ok. But i
> want to have more redirect information in mainlog.
>
> There is my router:
> vitrual_aliases:
> debug_print = "R: virtual_aliases for $local_part@$domain"
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup mysql {select goto from alias where
> address='$local_part@$domain'}}


Another router must be doing the delivery, and in that router, you should set log_as_local to false. See section 15 of the documentation "Generic options for routers".


> and redirect data is
> all@??? -> test@???,
> test2@???, test3@???,
> test@???
>
>
> mainlog:
> 2011-07-07 12:43:45 1QekBV-0007RV-MB <= test@???
> H=(mail.example.com) [] P=esmtp S=1399
> id=20110707124342.1d2b27e9@??? for
> all@???
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test <all@???>
> F=<test@???> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test2 <all@???>
> F=<test@???> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test3 <all@???>
> F=<test@???> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test <all@???>
> F=<test@???> R=virtual_user T=virtual_user
>
> Is there a way to get full recipient email instead of local_part in mainlog?
>
> P.S. sorry for my english :)
>
> --
> ## 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/


--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148