[Bug 729819] [NEW] Dovecot !include_try does not work with 'deliver' - mail delivery fails

dovecot.bugs 729819 at bugs.launchpad.net
Sat Mar 5 19:32:47 UTC 2011


Public bug reported:

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.

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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 sent e-mail from
+ 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 Dovecot 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
+   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 changed:

  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 Dovecot start delivering mail.
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.
https://bugs.launchpad.net/bugs/729819

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



More information about the Ubuntu-server-bugs mailing list