Re: Postfix on RH 7.2--advice?

Dirk Dettmering <[email protected]> Wed, 18 Jun 2003 16:43:37 +0200
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Hy,

jason lunsford wrote:
> I will soon start the mail transport agent set-up on our new RH 7.2 server
> and I would like to use Postfix.  I've worked with it some on my Mac at the
> house, so I'd like to use Postfix here on our RH 7.2.  Is anyone using
> Postfix on 7.2?  Does it work well?  Anything I should consider etc. etc.?
> 
> We will be using it for light email traffic from a handful of sites we want
> to move from shared hosting to this internal set-up.  I would like to
> eventually have a web interface for checking email remotely.  we would
> primarily need to access the mail accounts on it via Outlook, Netscape etc.
> clients from our LAN all on the same subnet.

I use postfix on all my servers under RH 7.1, 7.2 and 7.3 and I use
solely the packages from Simon Mudd (http://postfix.WL0.org/en/).
There is even an apt respository (http://postfix.WL0.org/en/apt). And
it's quite easy to rebuild a package if you want more than the
standard features like MySQL, TLS, SASL support and more. Just get the
SRPM (ftp://ftp.WL0.org/SRPMS/), install it with rpm -i <package>, go
to /usr/src/redhat/SOURCES, set some variables to fit your needs and
execute make-postfix.spec (I have prepared a small file for that as I
have to do the same procedure every time I upgrade, wich I will
include below) and than call rpm or rpmrebuild (e.g.: rpm -bb
/usr/src/redhat/SPECS/postfix.spec).
The resulting RPM has the included features in its name (e.g.
postfix-2.0.10-2.pcre.MySQL.sasl2.tls.rh73.i386.rpm). 

Bye

Dirk


#!/bin/bash
cd `rpm --eval '%{_sourcedir}'`
# set the required build options
export POSTFIX_SMTPD_MULTILINE_GREETING=1
export POSTFIX_LDAP=1
export POSTFIX_MYSQL=1
export POSTFIX_PCRE=1
export POSTFIX_SASL=2
export POSTFIX_TLS=1
export POSTFIX_RPM_NO_WARN=1
REQUIRES_INIT_D=1
POSTFIX_DB=3
#export POSTFIX_VDA=0
#export POSTFIX_PGSQL=0
#export POSTFIX_RBL_MAPS=0
#export POSTFIX_REDHAT_MYSQL=0
# this creates %{_specdir}/postfix.spec
sh `rpm --eval '%{_sourcedir}'`/make-postfix.spec