[Exim] log_as_local and lmtp over TCP

Pàgina inicial
Delete this message
Reply to this message
Autor: Oliver Eikemeier
Data:  
A: exim-users
Assumpte: [Exim] log_as_local and lmtp over TCP
Another item for the wishlist:

The following router/transport combination does not log a delivery as local:

localuser:
driver = accept
transport = lmtp_delivery
log_as_local

lmtp_delivery:
driver = smtp
protocol = lmtp

but this one does:

localuser:
driver = accept
transport = lmtp_delivery
log_as_local

lmtp_delivery:
driver = lmtp

in src/string.c we find:

/* We start with just the local part for pipe, file, and reply
deliveries, and for successful local deliveries from routers that have
the log_as_local flag set. */

[...]

addr->router != NULL && addr->router->log_as_local &&
addr->transport != NULL && addr->transport->info->local

and addr->transport->info->local is FALSE for the smtp trasnport (lmtp
over TCP), but not for the lmtp transport (lmtp over a pipe). Does it
make sense not to check for addr->transport->info->local?

Regards
     Oliver