On 12-10-24 12:23 AM, Malcolm McLean wrote:
Hi,
Upfront apologies if this is trivial or covered by a part of the
manual, but from all of my searching and reading I couldn't find any
reference to this.
Our server hosts various domains, and there are instances where some
domains have the same local part, which makes reading and parsing the
=> log line difficult. To complicate this, some addresses are aliases
to different local domains, which means utilising the email address
with <...> is somewhat useless.
For example:
2012-10-23 13:00:42 1TQcDw-0005TD-1O <=
[email protected]=mail.somewhere.com (test) [10.0.1.15] P=smtp
S=1035 [email protected] [email protected]
2012-10-23 13:00:42 1TQcDw-0005TD-1O => james
<[email protected]>F=<[email protected]>R=virtual_user
T=local_delivery S=1215
2012-10-23 13:01:16 1TQcdu-0005gF-BY <=
[email protected]=mail.somewhere.com (test) [10.0.1.15] P=smtp
S=1035 [email protected] [email protected]
2012-10-23 13:01:16 1TQcdu-0005gF-BY => james
<[email protected]>F=<[email protected]>R=virtual_user
T=local_delivery S=1215
From the above, I have no way of knowing which local james account was
delivered to, especially without knowing if [email protected] was
actually a redirect to [email protected]. There could even be a
[email protected] that is compeltely unrelated to the james account
at either example1.com or example2.com.
Is there a way to have the => log line output the full address for
local deliveries, instead of just the local part? So, using the above
examples:
2012-10-23 13:00:42 1TQcDw-0005TD-1O <=
[email protected]=mail.somewhere.com (test) [10.0.1.15] P=smtp
S=1035 [email protected] [email protected]
2012-10-23 13:00:42 1TQcDw-0005TD-1O =>
[email protected]<[email protected]>F=<[email protected]>R=virtual_user
T=local_delivery S=1215
2012-10-23 13:01:16 1TQcdu-0005gF-BY <=
[email protected]=mail.somewhere.com (test) [10.0.1.15] P=smtp
S=1035 [email protected] [email protected]
2012-10-23 13:01:16 1TQcdu-0005gF-BY =>
[email protected]<[email protected]>F=<[email protected]>R=virtual_user
T=local_delivery S=1215
Thanks,
Malcolm McLean
Add "log_as_local = false" to the router that does your local delivery.
--
Daryl Richards
Isle Technical Services Inc.
--
## 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/