[Exim] 4.24 .include weirdness

Góra strony
Delete this message
Reply to this message
Autor: Jeffrey Wheat
Data:  
Dla: exim-users
Temat: [Exim] 4.24 .include weirdness
I've just built exim 4.24 on a FreeBSD 5.0 server
and decided to convert the config file to use the
.include feature as to avoid redoing it each time
I upgrade. I have noticed something weird about it
however. If I do this:

######################################################################
#                       ACL CONFIGURATION                            #
#         Specifies access control lists for incoming SMTP mail      #
######################################################################


.include /etc/exim/inc.acl




######################################################################
#                      ROUTERS CONFIGURATION                         #
#               Specifies how addresses are handled                  #
######################################################################


.include /etc/exim/inc.routers


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################


.include /etc/exim/inc.transports


Then exim -bV will not find the /etc/exim/inc.routers file. Gives an
error:

Exim version 4.24 #1 built 23-Sep-2003 12:33:14
Copyright (c) University of Cambridge 2003
Probably Berkeley DB version 1.8x (native mode)
Support for: OpenSSL
Authenticators: cram_md5
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Contains exiscan-acl patch revision 12 (c) Tom Kistner [http://duncanthrax.net/exiscan/]
2003-09-23 14:53:40 Exim configuration error in line 263:
failed to open included configuration file /etc/exim/inc.routers

However, if I cat the inc.act and inc.routers file together, it
will load just fine.

Thanks,
Jeff

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 8/28/2003