Hi, Why still I am getting below error after reinstalling postfix, even after following baruwa user guide?
*# tailf /var/log/maillog* Nov 12 00:36:50 testvps postfix/smtpd[22124]: fatal: /etc/postfix/ mysql-relay_recipients.cf, line 5: missing '=' after attribute name: "UNION SELECT 1 FROM auth_user WHERE username = '%s' OR email = '%s' \" Nov 12 00:36:51 testvps postfix/master[21672]: warning: process /usr/libexec/postfix/smtpd pid 22124 exit status 1 Nov 12 00:36:51 testvps postfix/master[21672]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Nov 12 00:37:51 testvps postfix/smtpd[22134]: fatal: /etc/postfix/ mysql-relay_recipients.cf, line 5: missing '=' after attribute name: "UNION SELECT 1 FROM auth_user WHERE username = '%s' OR email = '%s' \" Nov 12 00:37:52 testvps postfix/master[21672]: warning: process /usr/libexec/postfix/smtpd pid 22134 exit status 1 Nov 12 00:37:52 testvps postfix/master[21672]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling ven I have reinstalled everything inclucing Baruwa and MailScanner. As I want clean installation. Now my postfix supports mysql. I have followed this link : http://www.baruwa.org/docs/integration.html to integrate postfix as a MTA. *# postconf -n* alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost mydomain = dhavalsoni.com myhostname = testvps.dhavalsoni.com myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = mysql:/etc/postfix/mysql-relay_domains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-relay_recipients.cf sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop transport_maps = mysql:/etc/postfix/mysql-transports.cf unknown_local_recipient_reject_code = 550 *# postconf -m* btree cidr environ hash ldap mysql nis pcre pgsql proxy regexp static unix What I am missing? Thanks, On Fri, Nov 11, 2011 at 8:36 PM, Jeremy McSpadden <[email protected]>wrote: > [root@smtp2 jeremy]# postconf -m > btree > cidr > environ > hash > ldap > mysql > nis > pcre > pgsql > proxy > regexp > static > unix > --**** > Jeremy McSpadden**** > Flux Labs, Inc**** > http://www.fluxlabs.net > Endless Solutions**** > *Office* : 850-588-4626**** > *Cell* : 850-890-2543 > *Fax* : 850-254-2955 > > On Nov 11, 2011, at 8:54 AM, [email protected] wrote: > > Hello, > > [root@testvps MailScanner]# postconf -n > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > header_checks = regexp:/etc/postfix/header_checks > html_directory = no > inet_interfaces = all > mail_owner = postfix > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost > mydomain = dhavalsoni.com > myhostname = testvps.xyz.com > myorigin = $myhostname > newaliases_path = /usr/bin/newaliases.postfix > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES > relay_domains = mysql:/etc/postfix/mysql-relay_domains.cf > relay_recipient_maps = mysql:/etc/postfix/mysql-relay_recipients.cf > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > transport_maps = mysql:/etc/postfix/mysql-transports.cf > unknown_local_recipient_reject_code = 550 > > > On Fri, Nov 11, 2011 at 8:13 PM, Jeremy McSpadden <[email protected]>wrote: > >> You need to use the postfix rpm from the plus repo. Your current does not >> support MySQL. >> postconf -n >> >> >> -- >> Jeremy McSpadden >> >> On Nov 11, 2011, at 8:42 AM, "[email protected]" <[email protected]> >> wrote: >> >> Hello, >> >> I am getting below error while setting up MTA with baruwa. >> >> Nov 11 17:36:41 testvps postfix/qmgr[24327]: fatal: unsupported >> dictionary type: mysql >> Nov 11 17:36:42 testvps postfix/master[24224]: warning: process >> /usr/libexec/postfix/qmgr pid 24327 exit status 1 >> Nov 11 17:36:42 testvps postfix/master[24224]: warning: >> /usr/libexec/postfix/qmgr: bad command startup -- throttling >> Nov 11 17:36:51 testvps postfix/smtpd[24328]: fatal: unsupported >> dictionary type: mysql >> Nov 11 17:36:52 testvps postfix/master[24224]: warning: process >> /usr/libexec/postfix/smtpd pid 24328 exit status 1 >> Nov 11 17:36:52 testvps postfix/master[24224]: warning: >> /usr/libexec/postfix/smtpd: bad command startup -- throttling >> >> I have followed http://www.baruwa.org/docs/install_centos.html to >> install Baruwa and >> http://readthedocs.org/docs/baruwa/en/latest/integration.html#postfixfor MTA >> integration. >> >> I am running this setup on Centos 5.7 32 bit. >> >> Do let me know if you need further information on the same. >> >> Thank you, >> >> -- >> Kind regards, >> Dhaval Soni ( RHCA ) >> >> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org/> >> >> _______________________________________________ >> Keep Baruwa FREE - http://pledgie.com/campaigns/12056 >> >> >> _______________________________________________ >> Keep Baruwa FREE - http://pledgie.com/campaigns/12056 >> >> > > > -- > Kind regards, > Dhaval Soni ( RHCA ) > > Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org/> > > _______________________________________________ > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 > > > > _______________________________________________ > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 > > -- Kind regards, Dhaval Soni ( RHCA ) Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

