Hi,

I'm testing a configuration that uses local delivery to an lmtp socket, for 
the first time. Previously, I was delivery by lmtp over tcp.

Deliveries are working fine, but not being logged. Why would that be?

I have log_selector set to:
log_selector = +all -incoming_port -pid

A message delivery is logged like this:

01-27 16:05:50 SMTP connection from [139.184.32.17] I=[139.184.32.17]:25
    (TCP/IP connection count = 1)

2009-01-27 16:05:57 KE50PW-000M44-HP H=eqsmtp.susx.ac.uk (foo)
    [139.184.32.17] I=[139.184.32.17]:25 Warning: ; sender: 139.184.32.17 
protocol:
    smtp stc: s-unlimited return_path: [email protected]
    client: <[email protected]>

2009-01-27 16:05:57 KE50PW-000M44-HP <= [email protected]
    H=eqsmtp.susx.ac.uk (foo) [139.184.32.17] I=[139.184.32.17]:25
    P=smtp S=413 T="test smtp on ramsay" from <[email protected]> for 
[email protected]

2009-01-27 16:06:00 SMTP connection
    from eqsmtp.susx.ac.uk (foo) [139.184.32.17] I=[139.184.32.17]:25
    closed by QUIT

(I've added whitespace, and replaced "iane" with "foo", but not otherwise 
obfuscated the log entries).

My transport configuration looks like this:

cyrus_lmtp_rew:
        driver = lmtp
    batch_max = 500
    user = exim
    rcpt_include_affixes
    delivery_date_add
    disable_logging = false
    hide headers_remove = \
        Bcc \
        FNAME_REWRITE_REMOVAL \
        REMOVE_LONG_HEADERS
    hide headers_add = \
        X-Sussex: true \
        \nX-Sussex-transport: remote_lmtp_rew \
        FNAME_REWRITE_REPLACEMENT \
        REPLACE_LONG_HEADERS
    socket = /opt/local/etc/cyrus/socket/lmtpproxy

At first, I had no disable_logging setting, but the docs say it defaults to 
false. I tried adding disable_logging = false, then disable_logging = true, 
but none of these settings appears to make any difference.

-- 
Ian Eiloart
IT Services, University of Sussex
x3148

-- 
## List details at http://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/

Reply via email to