postfix - cyrus-sasl - cyrus-imapd on RedHat
Andrew Koros
akoros at ke.uu.net
Wed May 7 02:11:36 EDT 2003
Hello Gerry,
My howto explains the basics of getting a system working. It is
impossible to describe all possible configurations that people might
want to have. That would require a book. It is supposed to be a guide to
give you the basic idea. Once you can get a basic system running then
you can tweak it further.
If you are using the srpm for postfix from Simon Mudd
(http://postfix.wl0.org/ftp/SRPMS/) and you were following my howto
(an update is @ http://home.teleport.ch/simix/RPMS/Cyrus-imapd/contrib/)
then look at the $HOME/rpm/SOURCES/make-postfix.spec. There are so many
options fo compiling postfix.
For example supposed you have prepared your home directory for building
rpms as I decribe in my howto and you are using postfix-2.0.8 srpm then
to include TLS and mysql and sasl2 support do the following as a
non-root user:
rpm -ivh postfix-2.0.8-1.src.rpm
cd $HOME/rpm/SOURCES
export POSTFIX_REDHAT_MYSQL=1
export POSTFIX_SASL=2
export POSTFIX_TLS=1
sh make-postfix.spec
rpmbuild -ba $HOME/rpm/SPECS/postfix.spec
If RedHAt's mysql-devel, cyrus-sasl-devel-2.1.x and openssl-devel rpms
are installed then the postfix rpm should build with all these options
resulting in the following rpm:
$HOME/rpm/RPMS/i386/postfix-2.0.8-1.mysql.sasl2.tls.rh9.i386.rpm
Which you can then install.
On Tue, 2003-05-06 at 21:03, grenoml wrote:
> Hi all,
>
> Well, I'm trying to get:
> postfix 2.0.8
> cyrus-sasl 2.1.10 (RH distro)
> cyrus-imapd 2.2ALPHA (virtdom)
If you are going to use Luc's web-cyradm then even cyrus-imapd-2.1.12 or
newer will achieve "virtual" domains.
> pam_mysql
> webcyradm
> web-based sieve
> imp/squirrel
>
> working on RH9.
>
> I downloaded SRPMS:
> postfix SRPM from Simon Mudd
> cyrus-imapd SRPM from Simon Matter
> cyrus-sasl SRPM from RedHat (distro ver)
>
> In recompiling these RPMS what specific options should I be paying
> close attention?
>
> I'm looking at two HOWTOs from Luc and Koros but they really don't tell
> you ramifications of some of the options. They just say here do this.
> I want to understand how all these options work together.
>
> I want to be able to use mysql for all authentication and TLS/SSL for
> privacy.
To the best of my knowledge Simon's cyrus rpm s will support imaps.
>
> As a start I compiled postfix and enabled mysql option.
>
>
> And I compiled cyrus-impad with defaults except selecting skiplist for
> all db options.
>
> I'm now looking at cyrus-sasl. Do I even need to recompile cyrus-sasl?
>
>
> I looked at the cyrus-sasl spec and configure files and it doesn't show
> --enable-openssl so does that mean cyrus-sasl as installed on RH does
> not support TLS/SSL? If it does support it already then I probably
> don't need to recompile cyrus-sasl. Is there any easy way to test
> this?
>
> thx,
> Gerry Reno
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
--
Andrew Koros
Developer, Systems Services
UUNET (Kenya) Ltd
http://www.uunet.co.ke
Tel: +254 2 69088618
Fax: +254 2 69088001
Email: akoros at ke.uu.net
NOTICE: This e-mail message and all attachments transmitted with it may
contain legally privileged and confidential information intended solely
for the use of the addressee. If the reader of this message is not the
intended recipient, you are hereby notified that any reading,
dissemination, distribution, copying, or other use of this message or
its attachments is strictly prohibited. If you have received this
message in error, please notify the sender immediately by electronic
mail, and delete this message and all copies and backups thereof. Thank
you.
More information about the Info-cyrus
mailing list