Re: [exim] Logging full address on local delivery

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Todd Lyons
Ημερομηνία:  
Προς: Malcolm McLean
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Logging full address on local delivery
On Tue, Oct 23, 2012 at 9:23 PM, Malcolm McLean <malcolm@???> 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 <=
> external@???=mail.somewhere.com (test) [10.0.1.15] P=smtp S=1035
> id=test@??? james@???
> 2012-10-23 13:00:42 1TQcDw-0005TD-1O => james
> <james@???>F=<external@???>R=virtual_user
> T=local_delivery S=1215
> 2012-10-23 13:01:16 1TQcdu-0005gF-BY <=
> external@???=mail.somewhere.com (test) [10.0.1.15] P=smtp S=1035
> id=test@??? james@???
> 2012-10-23 13:01:16 1TQcdu-0005gF-BY => james
> <james@???>F=<external@???>R=virtual_user
> T=local_delivery S=1215


Hmmm, yours logs differently than mine:

2012-10-21 19:05:39 1TQ0q5-000354-5X =>
/netapp3/mail/maildirs/e/x/a/example.org/jeff/Maildir/
(jeff@???) <director@???> P=<j_con127@???>
R=virtual_user T=address_directory

Yours is using virtual users as is mine, however my system is
delivering to maildirs, whereas I'm uncertain what transport options
you are using. My transport:

address_directory:
debug_print = "Transport: address_directory for $local_part@$domain"
driver = appendfile
maildir_format
maildir_use_size_file
maildir_tag = ,S=$message_size
delivery_date_add
envelope_to_add
return_path_add
user = 503
group = 500
quota = QUOTA_LOOKUP
quota_size_regex = ,S(\d+)
quota_is_inclusive = false
quota_warn_threshold = 85%

How does yours differ from the above?

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine