Re: [exim] Problem with logging of the delivery under Ubuntu

Top Page
Delete this message
Reply to this message
Author: Lars Timmann
Date:  
To: exim-users
Subject: Re: [exim] Problem with logging of the delivery under Ubuntu
41
41

Hi Jeremy,
you are right this is a config which has another location as the
compiled in location.

Some informations about my setup:
# lsb_release -d
Description:    Ubuntu 14.04.3 LTS


# dpkg -l exim4-daemon-heavy
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture
 Description
+++-============================-===================-===================-=============================================================
ii  exim4-daemon-heavy           4.82-3ubuntu2       amd64
 Exim MTA (v4) daemon with extended features, including exisca


# exim4 -bV
Exim version 4.82 #2 built 25-Feb-2014 16:39:17
Copyright (c) University of Cambridge, 1995 - 2013
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2013
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS
move_frozen_messages Content_Scanning DKIM Old_Demime
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /etc/exim4/exim4.conf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The compiled in value

# grep COMMONOPTIONS /etc/default/exim4
COMMONOPTIONS='-C /etc/exim/exim.conf'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
My own config

# cat /etc/exim4/trusted_configs
/etc/exim/exim.conf
/etc/exim-local/mysql_servers

# exim4 -bP log_file_path log_selector hosts_connection_nolog
log_file_path = /var/log/exim/%slog-%D
log_selector = +acl_warn_skipped +address_rewrite +all_parents
+arguments +connection_reject +delay_delivery +deliver_time
+delivery_size +incoming_interface +incoming_port
+lost_incoming_connection +outgoing_port +queue_run +queue_time
+queue_time_overall +pid +received_recipients +received_sender
+rejected_header +sender_on_delivery +size_reject +smtp_confirmation
+smtp_connection +smtp_incomplete_transaction +smtp_mailauth
+smtp_protocol_error +subject +tls_cipher +tls_peerdn
hosts_connection_nolog =

I am using Ubuntu exim with no part of the Ubuntu exim configuration.

The complete output of debug mode will go to you via mail, Jeremy.

Kind regards,
Lars

On 30.10.2015 15:09, Jeremy Harris wrote:
> On 30/10/15 13:54, Lars Timmann wrote:
>> If I look with starting the daemon in debugging mode:
>> # /usr/sbin/exim4 -bdf -C /etc/exim/exim.conf -d+all 2>&1 | grep -A 1
>> "LOG: MAIN"
>> ...
>> 14:33:26 15438 LOG: MAIN
>> 14:33:26 15438 <= lollypop@??? H=net2dhcp039.domain.tld
>> (lollybook.domain.tld) [192.168.2.188]:48970 I=[192.168.5.103]:25
>> P=esmtp S=578 T="test Fri, 30 Oct 2015 14:34:07 +0100"
>> --
>> 14:33:26 15441 LOG: MAIN PANIC
>> 14:33:26 15441 exim user lost privilege for using -C option
>
> Is this a nonstandard, for your installation, exim config location?
> See docs chapter 6, section 1.
>
> If you capture the debug output to file rather than grep, what does
> the transport do?
>


--
"There is always an easy solution to every human problem -
neat, plausible and wrong."
(Henry Louis Mencken (1880-1956) American journalist and social critic)