Re: From Sendmail to Postfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hy David,

David Durst wrote:
> Does anyone know of good documentation on making this move on a RH 8.0 box?

I would suggest to give the packages of Simon Mudd a try:
ftp://ftp.WL0.org/
He publishes his packages really soon after the official release from
Wietse whereas the packages of RH are always quite old and lack a lot
of features.
The best thing is to get the SRPM and rebuild it for your system. If
you just want a normal postfix package do it with rpmbuild --rebuild
postfix-2.0.8-1.src.rpm.
But if you need PCRE, TLS/SSL, LDAP, SASL and/or mysql or postgres
integration it's only necessary to install the SRPM with rpm -ivh
postfix-2.0.8-1.src.rpm, setting some environment variables, e.g.:
export POSTFIX_SMTPD_MULTILINE_GREETING=1
export POSTFIX_LDAP=1
export POSTFIX_MYSQL=1
export POSTFIX_PCRE=1
export POSTFIX_RBL_MAPS=1
export POSTFIX_SASL=2
export POSTFIX_TLS=1
REQUIRES_INIT_D=1
POSTFIX_DB=3,
creating the SPEC file in /usr/src/redhat/SOURCES with sh `rpm --eval
'%{_sourcedir}'`/make-postfix.spec and executing rpm -bb
/usr/src/redhat/SPECS/postfix.spec.

There is even an apt repository: http://postfix.WL0.org/en/apt/. More
documentation can be found here: http://postfix.WL0.org/en/ (but the
server seem to be down at the moment).

I guess that you will find the comments in /etc/postfix/main.cf very
helpfull and in most cases they should be sufficient. In contrast to
sendmail are the configuration parameters of postfix really human
readable! *g*
And even more information and examples can be found in
/etc/postfix/README_FILES/ and /etc/postfix/samples/.

For the beginning in most cases it should be sufficient to adjust:
$myhostname
$mydomain
$myorigin
$mynetworks or $mynetworks_style
and $relayhost.
It could be necessary to set also mailbox_command = /usr/bin//procmail
-t and local_recipient_maps = $alias_maps unix:passwd.byname
$virtual_mailbox_maps.

The best ressource for the bad_headers/body content filter can be
found here:
http://www.hispalinux.es/~data/postfix/

There is a "Tutorial: fight spam w/ Postfix" for FreeBSD which may be
helpfull (but be aware that it is written for older versions before
1.0!):
http://freebsd.sinica.edu.tw/pipermail/freebsd-taiwan-questions/2001-January/001738.html
Another tutorial: MandrakeSecure: Controlling SPAM under Mandrake
Linux, Part 1 http://www.mandrakesecure.net/en/docs/spam.php

A list with over 40 anti spam databases (not only RBL) can be found
here:
http://www.declude.com/junkmail/support/ip4r.htm

HTH and Bye

Dirk



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux