Understanding exim configuration files

Posted by bobobobo on Server Fault See other posts from Server Fault or by bobobobo
Published on 2010-08-20T20:04:36Z Indexed on 2011/02/12 23:27 UTC
Read the original article Hit count: 242

Filed under:
|
|

So, I want to understand what's going on with this Exim configuration directory.

In /etc/exim4, there's:

* exim4.conf.template
* update-exim4.conf.conf
* conf.d

The conf.d has a mess of directories and files, and inside each are a bunch of if statements which I find really different.

For example:

maildir_home:
  debug_print = "T: maildir_home for $local_part@$domain"
  driver = appendfile
  .ifdef MAILDIR_HOME_MAILDIR_LOCATION
  directory = MAILDIR_HOME_MAILDIR_LOCATION
  .else
  directory = $home/Maildir
  .endif
  .ifdef MAILDIR_HOME_CREATE_DIRECTORY
  create_directory
  .endif
  .ifdef MAILDIR_HOME_CREATE_FILE

My question is,

  • where do the CAPS VARIABLES get defined
  • how can I change them
  • why are there so many if statements in these configuration files?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about configuration