[exim] Problem/Question Exim 4.74 and FreeBSD building TRUST…

Góra strony
Delete this message
Reply to this message
Autor: B. Cook
Data:  
Dla: exim-users
Temat: [exim] Problem/Question Exim 4.74 and FreeBSD building TRUSTED_CONFIG_LIST
Hello all,

I am trying to figure out what I am doing wrong and still getting this error:

2011-02-02 11:23:49 [46260] exim user lost privilege for using -C option

I have a physical machine with two instances of exim running just fine for
a few years now.

In trying to update from 4.71 to 4.74 and reading about the config change
- I can not seem to figure out what I literally need to do.

below is my /var/db/ports/exim/options file with the TRUSTED_CONFIG_LIST
entries added by hand.

[/usr/ports/mail/exim]# 162 > cat /var/db/ports/exim/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for exim-4.74
_OPTIONS_READ=exim-4.74
WITH_ALT_CONFIG_PREFIX=true
WITHOUT_AUTH_CRAM_MD5=true
WITH_AUTH_DOVECOT=true
WITHOUT_AUTH_PLAINTEXT=true
WITHOUT_AUTH_RADIUS=true
WITHOUT_AUTH_SASL=true
WITHOUT_AUTH_SPA=true
WITH_CDB=true
WITH_CONTENT_SCAN=true
WITH_DAEMON=true
WITHOUT_DCC=true
WITHOUT_DEBUG=true
WITH_DISABLE_D_OPT=true
WITH_DNSDB=true
WITHOUT_DSEARCH=true
WITH_EMBEDDED_PERL=true
WITHOUT_EXIMON=true
WITH_ICONV=true
WITHOUT_IPV6=true
WITHOUT_KAS=true
WITHOUT_LMTP=true
WITH_LSEARCH=true
WITH_MAILDIR=true
WITHOUT_MAILSTORE=true
WITHOUT_MBX=true
WITHOUT_MYSQL=true
WITHOUT_NIS=true
WITHOUT_OLD_DEMIME=true
WITHOUT_OPENLDAP=true
WITHOUT_PAM=true
WITHOUT_PASSWD=true
WITHOUT_PGSQL=true
WITHOUT_READLINE=true
WITHOUT_SASLAUTHD=true
WITHOUT_SA_EXIM=true
WITHOUT_SO_1024=true
WITH_SPF=true
WITHOUT_SQLITE=true
WITHOUT_SRS=true
WITHOUT_SRS_ALT=true
WITH_SUID=true
WITHOUT_TCP_WRAPPERS=true
WITH_TLS=true
WITHOUT_WISHLIST=true
WITH_XCLIENT=true
TRUSTED_CONFIG_LIST=/usr/local/etc/exim/amx/configure
TRUSTED_CONFIG_LIST=/usr/local/etc/exim/configure

The custom exim server is being started via daemontools, like this:

#!/bin/sh
exec /usr/local/sbin/exim -C /usr/local/etc/exim/amx/configure -bdf -q30m

this is how exim is compiled:

exim -bV
Exim version 4.74 #0 (FreeBSD 8.0) built 02-Feb-2011 11:21:16
Copyright (c) University of Cambridge, 1995 - 2007
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources Perl Expand_dlfunc
OpenSSL Content_Scanning DKIM Experimental_SPF
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmnz dnsdb
Authenticators: dovecot
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
OpenSSL compile-time version: OpenSSL 0.9.8k 25 Mar 2009
OpenSSL runtime version: OpenSSL 0.9.8k 25 Mar 2009
Configuration file is /usr/local/etc/exim/configure


and here is the other exim:

exim -C /usr/local/etc/exim/amx/configure -bV
Exim version 4.74 #0 (FreeBSD 8.0) built 02-Feb-2011 11:21:16
Copyright (c) University of Cambridge, 1995 - 2007
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources Perl Expand_dlfunc
OpenSSL Content_Scanning DKIM Experimental_SPF
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmnz dnsdb
Authenticators: dovecot
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
OpenSSL compile-time version: OpenSSL 0.9.8k 25 Mar 2009
OpenSSL runtime version: OpenSSL 0.9.8k 25 Mar 2009
Configuration file is /usr/local/etc/exim/amx/configure

Mail seems to be delivering just fine.. aside from the error in the logs:

exim user lost privilege for using -C option

Can someone help me with what I am doing wrong?

Does that error message even matter? - Errors in logs are never good..

Thanks in advance.