[opensuse] Postfix warning: request to update table btree:/etc/postfix/smtp_scache in non-postfix directory /etc/postfix
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm getting this warning in my warn log file since I upgraded to opensuse 11.0: Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: request to update table btree:/etc/postfix/smtp_scache in non-postfix directory /etc/postfix Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix Googling, I found that this seems to be related to some incompatibilities of postfix 2.5: http://postfix.energybeam.com/source/official/postfix-2.5.0.RELEASE_NOTES It seems I need to set: data_directory = /var/lib/postfix which was done, and have that directory owned by postfix, which it is. I'm still getting those warnings. Per https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/223376 I have done these changes to my main.cf: smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache And I already had: data_directory = /var/lib/postfix But I'm still getting errors: Oct 7 14:38:41 nimrodel postfix/postfix-script[20987]: warning: not owned by root: /etc/postfix/smtp_scache.db So I deleted that file with postfix stopped. But I'm still getting warnings: Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix There is no such file "/var/spool/postfix/smtpd_scache". What more should I do? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjrW9EACgkQtTMYHG2NR9UygwCgkUI7L4ut3ytDNWKGAuMRkWcb V5IAoJefchN6ojr/ltmTDCHXkcXAKqzg =0W1x -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/07/2008 08:53 PM, Carlos E. R. wrote:
I'm getting this warning in my warn log file since I upgraded to opensuse 11.0:
Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: request to update table btree:/etc/postfix/smtp_scache in non-postfix directory /etc/postfix Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Googling, I found that this seems to be related to some incompatibilities of postfix 2.5:
http://postfix.energybeam.com/source/official/postfix-2.5.0.RELEASE_NOTES <snip> But I'm still getting errors:
Oct 7 14:38:41 nimrodel postfix/postfix-script[20987]: warning: not owned by root: /etc/postfix/smtp_scache.db
So I deleted that file with postfix stopped. But I'm still getting warnings:
Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix Oct 7 14:48:13 nimrodel postfix/tlsmgr[21333]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
There is no such file "/var/spool/postfix/smtpd_scache".
What more should I do?
Do you have postfix chrooted? I am still on 10.3, so it could be the postfix version, but mine works (smtp_cache, not smtpd). If SuSEconfig is setting up the chroot, it might help to add the following to /etc/sysconfig/postfix: ## Type: string ## Default: "btree:/etc/postfix/smtpd_scache" ## Config: postfix # # cache file name and type to cache ssl sessions to reduce bandwidth use POSTFIX_ADD_SMTPD_TLS_SESSION_CACHE_DATABASE="btree:/var/lib/postfix/smtp_cache" and then run SuSEconfig. Or you could NOT chroot it, and change it to /etc/postfix. It sure sounds like a chroot problem to me. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-10-07 at 21:59 +0800, Joe Morris wrote:
What more should I do? Do you have postfix chrooted? I am still on 10.3, so it could be the postfix version,
Its not chrooted (unless it is doing that on its own) and 10.3 does not have this problem. This is new to postfix 2.5, is documented partially. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjrc8QACgkQtTMYHG2NR9VIjQCgldNBoY+hbO+PQjfW8LsDk1u2 qgQAoIon60EcpO7oxuGK1cUYLx4Qnlo3 =XsOJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
There is no such file "/var/spool/postfix/smtpd_scache".
What more should I do?
I'm not using tls, but it sounds to me like you should be updating your main.cf: smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache (data_dir instead of queue_dir). /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-10-07 at 18:16 +0200, Per Jessen wrote:
Carlos E. R. wrote:
There is no such file "/var/spool/postfix/smtpd_scache".
What more should I do?
I'm not using tls, but it sounds to me like you should be updating your main.cf:
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
(data_dir instead of queue_dir).
I think that was it. I did that change, reloaded, sent an email, and I see no warnings (yet). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjr48AACgkQtTMYHG2NR9VNRwCginAvLDfti52JuP1ocYjfsiBc YAUAn3pjz+fsqzQr9Wzc9V7M9uGgp53x =Jl7x -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
I'm getting this warning in my warn log file since I upgraded to opensuse 11.0:
Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: request to update table btree:/etc/postfix/smtp_scache in non-postfix directory /etc/postfix Oct 7 13:37:45 nimrodel postfix/tlsmgr[17967]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Googling, I found that this seems to be related to some incompatibilities of postfix 2.5:
http://postfix.energybeam.com/source/official/postfix-2.5.0.RELEASE_NOTES
It seems I need to set:
data_directory = /var/lib/postfix
This parameter is also only available for Postfix 2.5 upwards.
which was done, and have that directory owned by postfix, which it is. I'm still getting those warnings.
Have you confirmed this setting by checking "postconf -n"? Either you didn't execute "postfix reload" or some later entry in main.cf overrides your setting. Another possibility is, that SuSEconfig is rewriting the original setting. Again, better check by using "postconf -n", or at least "postconf data_directory".
Per https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/223376 I have done these changes to my main.cf:
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
-- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-10-07 at 19:34 +0200, Sandy Drobic wrote:
It seems I need to set:
data_directory = /var/lib/postfix
This parameter is also only available for Postfix 2.5 upwards.
which was done, and have that directory owned by postfix, which it is. I'm still getting those warnings.
Have you confirmed this setting by checking "postconf -n"? Either you didn't execute "postfix reload" or some later entry in main.cf overrides your setting. Another possibility is, that SuSEconfig is rewriting the original setting.
Again, better check by using "postconf -n", or at least "postconf data_directory".
Lets see. I think I checked, but I'll do it again. data_directory = /var/lib/postfix smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache And I did reload and restart postfix. No, SuSEconfig didn't have a chance, my main.cf too much modified for that. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjr42EACgkQtTMYHG2NR9WXUgCcDvVy6Kc+bR/JROj9eNSMz/xT 60YAniDOCoCY4nlUjqLOwOA+JyKQsuc/ =FQA5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Carlos E. R.
-
Joe Morris
-
Per Jessen
-
Sandy Drobic