[Dovecot] deliver doesn't support !include directive, mail is bounced

Christoph Berkemeier christop at physik.tu-berlin.de
Wed Sep 30 16:58:24 EEST 2009


Hello,

dovecot deliver is used here as a LDA.
When I add
!include /usr/local/etc/$INCLUDE.FILE
to my dovecot.conf I get this error in the maillog:

relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.3.5, status=bounced
(local configuration error. Command output: Fatal: Error in config file
/usr/local/etc/dovecot.conf: deliver doesn't support !include directive

/usr/local/etc/$INCLUDE.FILE contains:
listen: $HOSTNAME
ssl_cert_file: /etc/$FILE
ssl_key_file: /etc/$FILE
auth_krb5_keytab = /etc/$FILE

It would be nice if this bug gets fixed or a comment add, that you can
not use include, when you use deliver as your LDA.

MfG
	Christoph

dovecot -n:

# 1.2.4: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.2-RELEASE-p2 amd64
log_path: /var/log/dovecot.log
protocols: imaps pop3s managesieve
listen: $HOSTNAME
ssl_cert_file: /etc/$FILE
ssl_key_file: /etc/$FILE
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
login_processes_count: 6
login_max_processes_count: 256
verbose_proctitle: yes
first_valid_uid: $NUMBER
first_valid_gid: $NUMBER
mail_privileged_group: mail
mail_location: maildir:~/maildir
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):

imap_client_workarounds(managesieve):

pop3_client_workarounds(default):

pop3_client_workarounds(imap):

pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh

pop3_client_workarounds(managesieve):

namespace:

  type: private

  separator: /

  inbox: yes

  list: yes

  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: mail/
  location: mbox:~/mail
  list: yes
  subscriptions: yes
lda:
  postmaster_address: postmaster@$DOMAIN
  log_path:
  info_log_path:
  mail_plugins: sieve
  quota_full_tempfail: yes
  sendmail_path: /usr/sbin/sendmail
auth default:
  mechanisms: gssapi plain login
  username_format: %Lu
  krb5_keytab: /etc/$FILE
  gssapi_hostname: $Hostname
  worker_max_count: 120
  passdb:
    driver: pam
    args: session=yes failure_show_msg=yes max_requests=100 dovecot
  userdb:
    driver: passwd
    args: blocking=yes
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 432
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  sieve: ~/.dovecot.sieve
  sieve_dir: ~/.sieve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090930/add9155a/attachment.bin 


More information about the dovecot mailing list