Matthew T. O'Connor wrote:
If there isn't a separate postfix-mysql package (and I don't think there
is) the SRPM does support it.
download the SRPM for Postfix and rpm -i postfix.src.rpm
modify the spec file to enable mysql support (should be located in
/usr/src/redhat/SPECS or somethign like that and rebuild the RPM from
the SPEC file.
Exactly, just did that recently for FC5. Get the postfix.src.rpm form
ftp. Install it.
Now edit the file /usr/src/redhat/SPECS/postfix.spec
The second line should be:
%define MYSQL 0
Change that to:
%define MYSQL 1
You'd also want to change the release number, to something way bigger.
It's around line 50 in the spec file. For example:
Release: 2000
Now save and do rpmbuild -ba postfix.spec
rpmbuild will probably complain about missing dependencies, install them
with yum.
Now try again rpmbuild -ba postfix.spec
You'll get the binary rpm in the folder /usr/src/redhat/RPMS/i386/
Install it and you'll be OK. Just beware, when there's a new rpm with
the same version but smaller release number, it won't be installed with
yum update. If there's a new version of postfix, it will get installed
with yum update. So you'll have to rebuild it again. I'd suggest even
rebuilding when there's a newer release.
HTH,
Alex