Hi. On Fri 2002-11-08 at 23:55:49 +0100, Stefan wrote: > Hi List, > > in trying to solve the "postfix-1.1.11-5mdk and 'incorrect version of > Berkeley DB: compiled against 3.3.11, linked against 2.7.7'" problem - > better, to receive any mail (... through fetchmail), I reinstalled > postfix. > > By the very clean deinstallation of the postfix rpm I lost all > fetchmailed mails till then :-(. The mails were marked as deferred in > /var/spool/postfix.
You can install a new postifx as "upgrade", which will leave the mail spool alone: rpm -Uhv --force postfix-someversion.rpm Either use the previous revision (1.1.11-4) or compile the current one yourself (the below). This worked fine for me. The mails in the queue (about 150) were delivered within the next minute. Of course, making a backup of /var/spool/postfix beforehand never hurts... > I have a 'live' cooker system (my problem ;-) - and I like it to > 'fetchmail' all my accounts, please gc give me a running postfix... Todd already mentioned recompiling the current postfix (1.1.11-5) oneself as work-around, but here comes a more complete recipe: 1. fetch postfix-1.1.11-5mdk.src.rpm somewhere, somehow, e.g. (there may be a better way - I was too lazy to look for one) > wget ftp://ftp.join.uni-muenster.de/pub/linux/distributions/mandrake-devel/cooker/SRPMS/postfix-1.1.11-5mdk.src.rpm (this has to be one long line) 2. rebuild the package (you need write access for /usr/src or do it as root. the latter is not recommended): > rpm -rebuild postfix-1.1.11-5mdk.src.rpm 3. this leaves a binary rpm in /usr/src/..., which can be installed as described above: > rpm -Uhv --force /usr/src/RPM/RPMS/i586/postfix-1.1.11-5mdk.i586.rpm HTH, Benjamin.
msg81033/pgp00000.pgp
Description: PGP signature
