Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Postfix on RH 7.2--advice?

Postfix on RH 7.2--advice?

2003-06-19       - By Dirk Dettmering

 Back
Reply:     1     2     3     4  

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 (See http://fix-2.ora-code.com).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