[exim] string expansion failure exim 4.80

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Uwe Rothmeier
Datum:  
To: Exim-users
Betreff: [exim] string expansion failure exim 4.80
Debian 7 (wheezy), Debian-Package exim4-daemon-heavy, 4.80-7
in rcpt-acl:

condition = ${if or{{match_address{$local_part@$domain}{lsearch;CONFDIR/some/file}} \
             {match_local_part{$local_part}{lsearch;/etc/exim4/aliases/$domain}}}{1}{0}}


This condition causes an error:
search_open: lsearch "/etc/exim4/aliases/$domain"
failed to open /etc/exim4/aliases/$domain for linear search: No such file or directory

The domain-variable ist not expanded

With Debian 6, exim4-daemon-heavy 4.72, it works
local_part in "lsearch;/etc/exim4/aliases/sub.example.com"? yes (matched
"lsearch;/etc/exim4/aliases/sub.example.com")



Exim version 4.80 #2 built 02-Jan-2013 18:59:17
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
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