10 msgheader check question
12 msgverify parameters
4 msgConfigure postfix in big env
2 msgenvelope sender '<>' via uucp gets rewrit...
2 msgSpam filtering only for specific email accounts

Postfix 2.4 to 2.5: smtp(d)_tls_session_cache_d...
\ Stefan Foerster (9 May 2008)
. \ Victor Duchovni (9 May 2008)
. \ (Wietse Venema) (9 May 2008)

15 msgQuestion about 'standards' WRT BATV and SAV
7 msgmy solution to fight backscatter email
2 msgAUTO: Joe Grastara is out of the office (return...
12 msgQ about sender_dependent_relayhost_maps inbound...
16 msgMilter Suggestions
9 msgTransport table and postmap
3 msgArchiving e-mail?
8 msgError 550: unable to relay
1 msgFW: new subject
13 msgTLS handshake error
6 msgSeperating SMTP and POP/IMAP services
3 msgTest 2
1 msgTesting
12 msg[Fwd: ldap users & aliases config]
Subject:Postfix 2.4 to 2.5: smtp(d)_tls_session_cache_database
Group:Postfix-users
From:Stefan Foerster
Date:9 May 2008


 
The tlsmgr(8) documentation states:

> With Postfix version 2.5 and later, the tlsmgr(8) no longer uses root
> privileges when opening cache files. These files should now be stored under the
> Postfix-owned data_directory. As a migration aid, an attempt to open a cache
> file under a non-Postfix directory is redirected to the Postfix- owned
> data_directory, and a warning is logged.

Right now on our servers, we have:

# postconf -n | grep tls.*cache_database
smtp_tls_session_cache_database = btree:/var/spool/postfix/smtp_scache
smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_scache

If we do want to upgrade from Postfix 2.4 to 2.5, can we (and I'm only
talking about tlsmgr(8) changes) simply follow a procedure like:

1. postfix drain
2. install the new version
3. change the above parameters to use $data_directory
4. copy the cache to the new location
5. [ Perform other needed changes unrelated to tlsmgr(8) ]
6. postfix start

If the above is not a viable way to perform an upgrade, as far as
tlsmgr(8) is concerned, can anyone give me some hints on a better
strategy?

We tested the above several times, and as long as the version of the
database libraries didn't change, we couldn't DETECT any problems so
far. But since we lack intimate knowledge in this area, I'd like to
get some feedback - we could always discard the old databases and
let tlsmgr(8) create new, empty files.


Thanks in advance
Stefan


© 2004-2008 readlist.com