Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySql Authentication Authentication Problem? 1

Status
Not open for further replies.

owedark

ISP
Apr 25, 2003
21
PH
hi..
any idea how to compile postfix for mysql authentication.. currently im installing postfix/courier-imap with mysql autherntication.. any idea how to config the postfix mysql authentication.. thanks.. and may god bless you all.

sample maillog:
Oct 17 19:36:25 owel postfix/smtpd[2947]: fatal: unsupported dictionary type: mysql
Oct 17 19:36:26 owel postfix/master[1862]: warning: process /usr/libexec/postfix/smtpd pid 2947 exit status 1
Oct 17 19:36:26 owel postfix/master[1862]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling


owel :)
 
owel,
Seems that your postfix install doesn't have mysql compiled in. You will need to recompile with steps similar to the following (modify for your paths):
Code:
postfix stop
make tidy
make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL'   '-I/path/to/mysql/includes AUXLIBS=/path/to/mysql/libs/libmysqlclient.a -lm'
make
sh INSTALL.sh
Then check to see if mysql is a valid map type:
Code:
postconf -m | grep mysql
Once you get mysql compiled in you should be good to go (or have more errors that we might be able to help you diagnos)

Hope that helps.
 
thanks for the reply.. i appreciate your help.. currently sir im using postfix package for redhat 9.. version postfix-1.1.12-1 .. i try to compile it.. but it seems doesnt allowed me, i think thats command its only allowed for tar installation.. if ever that command it also allow for rpm version.. may i know the exact command? or do i need to installed another module for mysql authentication.. thanks.. one more thing.. i managed to install the tar version for postfix.. but it doesnt have an auto reply.. once you send not a valid email address.. pls. help me.. to enable it.
thanks..


owel :
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top