Dovecot !include_try does not work with 'deliver' - mail delivery fails

Bug #729819 reported by dovecot.bugs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dovecot-postfix

dovecot-postfix sets up two subdirectories in /etc/dovecot/ called 'auth.d' and 'conf.d'. I understand the reasoning behind this is to facilitate future upgrades using the package manager. However! The delivery agent '/usr/lib/dovecot/deliver' does not process 'include'/'include_try' statements as indicated by:

# Config files can also be included. deliver doesn't support them currently.

That line is found in 'dovecot.conf'. I was unable to send e-mail from a remote e-mail address to one on the local box until I merged all the auth.d/* and conf.d/* configuration files into the main 'dovecot.conf'. However, I was able to connect to and log into the POP3 server using Thunderbird and send mail out through Postfix via SMTP, so I can see how cursory testing of this setup would work as 'deliver' isn't involved in either process. The error in my mail logs that I was receiving was "dovecot: deliver([redacted]): Fatal: postmaster_address setting not given", yet "dovecot -n" clearly indicated that the "postmaster_address" was set and I could see the address in the configuration file in the conf.d/* directory.

Adding '-c /etc/dovecot/dovecot.conf' to the Postfix 'master.cf' file had no effect. Only when I merged the files into 'dovecot.conf' and commented out the 'include_try' lines did 'deliver' start delivering mail.

Description: Ubuntu 10.04.2 LTS
Release: 10.04

dovecot-postfix:
  Installed: 1:1.2.9-1ubuntu6.3
  Candidate: 1:1.2.9-1ubuntu6.3

The folks in the Dovecot IRC channel recommended that I file a bug report after we worked together to figure out the problem.

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.