postfix tlsmgr smtpd_tls_session warning

Report bugs and workarounds
Post Reply
micoots
Posts: 12
Joined: 28 Apr 2014 07:06

postfix tlsmgr smtpd_tls_session warning

Post 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?
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: postfix tlsmgr smtpd_tls_session warning

Post by buzzzo »

Shawn is there an available workaround ?
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: postfix tlsmgr smtpd_tls_session warning

Post 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
Post Reply