On 11/11/11 20:47, Noel Jones wrote:
On 11/11/2011 1:30 PM, Bernard T. Higonnet wrote:
Hello,
Here is the system:
freebsd2.higonnet.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17
02:41:51 UTC 2011
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
I have just built postfix from source
Nov 11 20:12:41 freebsd2 postfix/master[64285]: reload -- version
2.8.7, configuration /usr/local/etc/postfix
Nov 11 20:13:08 freebsd2 postfix/qmgr[64852]: warning: problem
talking to service rewrite: Operation timed out
Nov 11 20:13:14 freebsd2 postfix/cleanup[64928]: fatal: open
database /usr/local/etc/postfix/canonical.db: Inappropriate file
type or format
The main.cf file has been copied without change so far from a
working version 2.7.1 running under FreeBSD 8.1
When you copy postfix setup files, you must then run
# postfix upgrade-configuration
and
# postfix set-permissions
When you copy indexed files between systems with different versions
of the BDB library, you need to rebuild the files on the new system.
Remove the existing unusable *.db files and postmap the input files
to create new .db files.
-- Noel Jones
I am actually replying to a later suggestion which I somehow managed to
blow away. In that email it was suggested I see if there were other
copies of postfix on the system.
There was indeed an older postfix from ports (?) lying around. So I
removed it, and did a complete re-install from source, all to no avail.
So I looked some more. It turns out that on the 'new' system I'm
building, there's something wrong with $path. So when I would execute
postmap, it was using some old postmap and not finding the new postmap,
even though the new correct postmap is in /usr/local/sbin where it's
supposed to be (but that's another story...)?? When I generate the db
files with the correct postmap, I can start Postfix fine.
Thanks again
Bernard Higonnet