2009/4/25 N. Yaakov Ziskind <aw...@ziskind.us>:
>> This box is stock ubuntu, and i only use ssl, postfix and samba, so i'm
>> wondering what i did wrong. i'm not using sasl, tls or anything other
>> than postgrey added on.
>>
>> should i just remove postfix and re-install? is it safe to keep main.cf
>> and the files i created/modified (transport, recipient_checks,
>> whitelist, helo_access, aliases and virtual)?

Of course it should be fine to keep your config files, though you want
to check that the syntax hasn't changed (I expect that would be very
rare). I do believe there's a proper upgrade procedure for postfix,
something like `postfix upgrade-configuration` once the new version is
installed. If you're concerned then it's not a bad idea to run postmap
on your map files again (I believe it's possible for those files to
break due to different versions of the db libraries used to
create/read them).

>> Thanks!
>
> To answer my own question: apt-get remove postfix ; apt-get install
> postfix got things running again.

Aeh... I dunno if I'd really call that a solution. For the record, I
happened to upgrade a box to Jaunty myself earlier today. It's a very
plain web+mail setup, recently provisioned so there's nothing special
on it at all. My ldd output for smtpd:

r...@shimako:~# ldd /usr/lib/postfix/smtpd
        linux-vdso.so.1 =>  (0x00007fffbe5fe000)
        libpostfix-master.so.1 => /usr/lib/libpostfix-master.so.1
(0x00007f2ab6093000)
        libpostfix-tls.so.1 => /usr/lib/libpostfix-tls.so.1 (0x00007f2ab5e84000)
        libpostfix-dns.so.1 => /usr/lib/libpostfix-dns.so.1 (0x00007f2ab5c7f000)
        libpostfix-global.so.1 => /usr/lib/libpostfix-global.so.1
(0x00007f2ab5a47000)
        libpostfix-util.so.1 => /usr/lib/libpostfix-util.so.1
(0x00007f2ab5813000)
        libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f2ab55c4000)
        libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f2ab523b000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f2ab5021000)
        libdb-4.7.so => /usr/lib/libdb-4.7.so (0x00007f2ab4cbb000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f2ab4aa1000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007f2ab4889000)
        libc.so.6 => /lib/libc.so.6 (0x00007f2ab4517000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f2ab4313000)
        libz.so.1 => /lib/libz.so.1 (0x00007f2ab40fb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2ab3edf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2ab629b000)

Assuming you did the upgrade correctly I don't imagine you should've
run into any problems. Uninstalling and reinstalling postfix as a fix
sounds like there was actually a problem with your binaries, which
shouldn't be the case if your system is stock (though I admit little
knowledge when it comes to library-linking; would two versions of
libdb cause spontaneous problems..?).

Reply via email to