Re: [exim] main log file - delivery logging

Top Page
Delete this message
Reply to this message
Author: John Jetmore
Date:  
To: Jim Pazarena
CC: exim-users
New-Topics: [exim] I need a special 'domain rewrite' and run into problems ...
Subject: Re: [exim] main log file - delivery logging
On Fri, May 13, 2011 at 1:57 PM, Jim Pazarena <exim@???> wrote:
> My system handles email for many virtual domains.
> As such, final delivery is to a folder which is the
> name of the domain.
>
> such that, for instance, email to *my* domain "paz.bz"
> for this addy (exim), gets delivered to:
> /mail/paz.bz/exim
>
> The logging, however, shows delivery to "exim", and NOT
> paz.bz/exim.
>
> I have duplicate email names on various domains, making
> the logging a little foggy when the domain name is missing
> from the delivery record. The log DOES show the complete
> original email address, which at times has no correlation
> to the final domain which receives the delivery.
>
> Is there a way to coax the logging to also show the folder
> path to the name, or just that final folder (which is the
> domain, and all I really need)?


Just a guess but have a look at the log_as_local router option. It's
one of those options that's easy to forget about because its default
value changes based on router invocation and it almost always does the
right thing.

--John