Subject: Updating to Netbsd 2.1 - Problems with Postfix
To: None <netbsd-help@NetBSD.org>
From: Christoph Dietzschold <cd@hoerbe.net>
List: netbsd-help
Date: 11/11/2005 21:34:26
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9E4542FA6A0BC5C150328931
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Hi,

I updated from 2.0.2 to 2.1. After updating I had some Problems
compiling Postfix and getting started Cyrus-Imap.

----------------------------------

sys_defs.h:42:1: warning: "HAS_DB" redefined
<command line>:14:1: warning: this is the location of the previous
definition
fsspace.c:50:25: sys/statvfs.h: No such file or directory
fsspace.c: In function `fsspace':
fsspace.c:90: error: storage size of `fsbuf' isn't known
*** Error code 1

Stop.
make: stopped in
/pkg_comp/obj/pkgsrc/mail/postfix/default/postfix-2.2.5/src/util
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/mail/postfix/default/postfix-2.2.5
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/postfix
...

----------------------------------

Here is an idea how to fix it:

Cyrus update:

The Update of DB4 causes an unreadable cyrus-database.

mv /var/imap/db /var/imap/db_backup
rm - /var/imap/db
su cyrus
/usr/pkg/cyrus/bin/reconstruct -r user.<username>

Thats it

Postfix Update:

I was not able to find an patch, or patch it by my self.

So i build a set of binary-packages on another system.
pkg_add postfix-2.2.5.tar.gz will help. The postfix was built with
mysql4 sasl and tls  - Support ;)

You will find a complete tarball of all dependencies in binary below:

http://hoerbe.net/download/postfix_for_2_1.tgz


Christoph Dietzschold

--
cd@hoerbe.net
http://hoerbe.net

--------------enig9E4542FA6A0BC5C150328931
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)

iD8DBQFDdQBWdYtuXn6F1jcRAlG2AKCNPfy0jH0UWaTeJd7TzwHoWLrDHACg16DB
0DeCYWtxeBLd5xa9l0a7LBo=
=d5si
-----END PGP SIGNATURE-----

--------------enig9E4542FA6A0BC5C150328931--