Public bug reported:

Binary package hint: postfix

The default postfix conf in Debian git and also in
postfix_2.5.1-1ubuntu1.diff.gz includes the lines:

  smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

Since Postfix 2.5, this causes the following errors in syslog:

Mar 26 23:08:13 yyy postfix/tlsmgr[8508]: warning: request to update table 
btree:/var/spool/postfix/smtpd_scache in non-postfix directory 
/var/spool/postfix
Mar 26 23:08:13 yyy postfix/tlsmgr[8508]: warning: redirecting the request to 
postfix-owned data_directory /var/lib/postfix
Mar 26 23:08:13 yyy postfix/tlsmgr[8508]: warning: request to update table 
btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Mar 26 23:08:13 yyy postfix/tlsmgr[8508]: warning: redirecting the request to 
postfix-owned data_directory /var/lib/postfix

This is an incompatibility noted at
http://www.postfix.org/TLS_README.html#client_tls_cache (and
correspondingly for server side cache) and http://high5.net/mirrors
/postfix-release/official/postfix-2.5.1.RELEASE_NOTES

Simply patching s/queue_directory/data_directory should fix this bug.

I'm running Hardy with:
$ apt-cache policy postfix
postfix:
  Installed: 2.5.1-1ubuntu1
  Candidate: 2.5.1-1ubuntu1
  Version table:
 *** 2.5.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Attached is a patch against the git upstream.

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

-- 
default main.cf.tls causes syslog warnings
https://bugs.launchpad.net/bugs/207526
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to