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
> [email protected] -> [email protected],
> [email protected], [email protected],
> [email protected]
>
>
> mainlog:
> 2011-07-07 12:43:45 1QekBV-0007RV-MB <= [email protected]
> H=(mail.example.com) [] P=esmtp S=1399
> [email protected] for
> [email protected]
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test <[email protected]>
> F=<[email protected]> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test2 <[email protected]>
> F=<[email protected]> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test3 <[email protected]>
> F=<[email protected]> R=virtual_user T=virtual_user
> 2011-07-07 12:43:45 1QekBV-0007RV-MB => test <[email protected]>
> F=<[email protected]> 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
--
## 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/