www.question-defense.com | Engage: Visit :: Login :: Register
Translate to English Übersetzen Sie zum Deutsch/German Переведите к русскому/Russian Μεταφράστε στα ελληνικά/Greek Vertaal aan het Nederlands/Dutch ترجمة الى العربية/Arabic 中文翻译/Chinese Traditional 中文翻译/Chinese Simplified 한국어에게 번역하십시오/Korean 日本語に翻訳しなさい /Japanese Traduza ao Português/Portuguese Traduca ad Italiano/Italian Traduisez au Français/French Traduzca al Español/Spanish
0

I noticed this error during an ISPConfig on CentOS 5.2 install and realized I had installed postfix without MySQL support. After looking around for a bit I was unable to locate a yum repository that included a postfix package with MySQL support built in so I decided to download the source RPM and install by modifying the SPEC file. Below are step by step instructions of what to do.

1. Remove postfix: rpm -e –nodeps postfix
2. Download the src RPM here. Located in the following directory: /centos/5.2/os/SRPMS/
cd /usr/local/src
Example: wget http://mirror.mojohost.com/centos/5.2/os/SRPMS/postfix-2.3.3-2.src.rpm 
3. Install source RPM: rpm -i postfix-2.3.3-2.src.rpm # Install the Source RPM
4. Edit File: cd /usr/src/redhat/SPECS
Edit postfix.spec: %define MYSQL 0  to  %define MYSQL 1
5. Install Packages: yum install pcre-devel mysql-devel 
6. Build The RPM: rpmbuild -ba postfix.spec (You will see lots of warnings, enjoy.)
7. Install new RPM: cd /usr/src/redhat/RPMS; rpm -i postfix-2.3.3-2.i386.rpm

That should do the trick. If you are like me and happened to be in the middle of installing ISPConfig then you will have a bunch of configuration changes to add back in for postfix.

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineLinkedInYahoo! Bookmarks
Related posts:
  1. Litespeed PHP Build: Configure: Error: Wrong MySQL Library Version Or Lib Not Found Another error I ran into while attempting to build PHP...
  2. Extra SPAM Protection For ISPConfig Running Postfix This article was written to create an easy step to...
  3. conftest.c:1:19: error: mysql.h: No such file or directory You may receive the above error in the mkmf.log file...
  4. Install The EPEL Repository On CentOS Linux 5.X, EPEL Repo Installing the EPEL repository on CentOS Linux is easy to...
  5. Compiling PHP with Litespeed: configure: error: wrong mysql library version or lib not found Another error during an attempt to compile PHP via the...

Tags: , , , , , ,
6 Responses to “qmgr fatal: unsupported dictionary type: mysql”
  1. Daniel Miguel says:

    Exctly the same problem I had!

    Thanks for sharing this info.

    [Reply]

    alex Reply:

    Hello Daniel Miguel,

    No problem. Glad it helped out.

    Thanks.
    alex

    [Reply]

  2. Rashid Iqbal says:

    Thanks Alex,

    Very helpful article

    [Reply]

    alex Reply:

    Hello Rashid Iqbal,

    No problem at all. Thanks for taking the time to leave feedback.

    Thanks.
    alex

    [Reply]

  3. Rashid Iqbal says:

    Dear Alex
    After resolving this issue I am facing new issue that I isntall the postfixadmin but when I tried to login he give me error e.g

    Invalid query: the postfix.admin doesn’t exist.

    how to resolve this issue.
    Regards,

    Rashid

    [Reply]

    alex Reply:

    Hello Rashid,

    Since it is not related to this article feel free to post this question on Engage instead of in the comments of this article.

    Thanks.
    alex

    [Reply]

  4.  
Leave a Reply