Thanks, Juan, and Patrik as well, this helped
immensely.  I can get postfix working, and it seems to
read the mysql tables on startup, which it wouldn't do
before.  However, I still have one bad problem - it
won't accept mail.  Specifically, when I telnet to
port 25, postfix looks OK, but if I send mail to any
aaddres (using manual commands at the telnet prompt,
which I usually use for troubleshooting mail), it
accepts the EHLO and MAIL commands, but as soon as I
specify a destination mail addres, it kills the telnet
session and postfix seems to go into a hibernating
state for a while (during which I see a new process,
"cleanup -t unix -u -c"), and it won't accept telnet
sessions to port 25 anymore.  After a while, it comes
back. 

So obviously I'm still doing something wrong in
getting postix to use mysql...I've researched this on
the net, to no avail.  I realize it's mostly a postfix
question, but I was wondering if anyone else had
experienced this?

Thanks again for the compiling directions...:)

     Aj

-----Original Message-----
From: Juan Nin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 4:24 AM
To: Arthur Lessard; [EMAIL PROTECTED]
Subject: Re: Mysql and postfix


From: "Arthur Lessard" <[EMAIL PROTECTED]>

> This is probably a topic that has been beaten to
> death, but I need help in finding a resource for
> getting postfix to support mysql on RedHat 8.0.

You can use Simon J. Mudd's SRPMs or Tuomo Soini's
ones...


Simon J. Mudd's:
http://postfix.wl0.org/en/

First install the SRPM:

# rpm -ivh postfix-xxx.src.rpm
# cd /usr/src/redhat/SOURCES/

then set the required build options

 # export POSTFIX_MYSQL=1                        #
this one for the MySQL
RPM from mysql.com
 # export POSTFIX_REDHAT_MYSQL=1       # this one for
Red Hat's mysql RPM

then create postfix.spec

# sh ./make-postfix.spec
# cd /usr/src/redhat/SPECS
# rpmbuild -ba postfix.spec

the RPM will be left on /usr/src/redhat/RPMS/i386/

NOTE: Simon's RPMs are configured to be chrooted by
default!!!
            In his site you can see the whole list of
options

#########

Tuomo Soini's
http://tis.foobar.fi/software/?postfix

# rpm -ivh postfix-xxx.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -ba postfix.spec --with mysql

the RPM will be left on /usr/src/redhat/RPMS/i386/
In his site you can see the whole list of options

Regards,

Juan



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to