Page 1 of 1

postfix tlsmgr smtpd_tls_session warning

Posted: 04 Jun 2014 04:07
by micoots
Hi,

Still going through maillogs, the following is another warning that seems a bit odd:

Jun 4 12:25:11 server postfix/tlsmgr[19672]: warning: request to update table btree:/var/spool/postfix/smtpd_tls_session_cache in non-postfix directory /var/spool/postfix
Jun 4 12:25:11 server postfix/tlsmgr[19672]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Jun 4 12:25:11 server postfix/tlsmgr[19672]: warning: request to update table btree:/var/spool/postfix/smtp_tls_session_cache in non-postfix directory /var/spool/postfix
Jun 4 12:25:11 server postfix/tlsmgr[19672]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix

It's a warning so not sure if we should be too concerned, but has anyone seen this one before and know how to fix?

Re: postfix tlsmgr smtpd_tls_session warning

Posted: 07 Jun 2014 23:46
by shawniverson

Re: postfix tlsmgr smtpd_tls_session warning

Posted: 14 Jun 2014 19:54
by buzzzo
Shawn is there an available workaround ?

Re: postfix tlsmgr smtpd_tls_session warning

Posted: 15 Jun 2014 18:50
by shawniverson
Yep.

/etc/postfix/main.cf

Change the following

Code: Select all

smtp_tls_session_cache_database = btree:/var/spool/postfix/smtp_tls_session_cache
smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_session_cache
to...

Code: Select all

smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_tls_session_cache
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache
Reload postfix

Code: Select all

sudo service postfix reload