Loading ...
Sorry, an error occurred while loading the content.

building postfix 2.8.2 for ubuntu with sqlite

Expand Messages
  • Mike Power
    So my goal is to use postfix 2.8.2 with sqlite support for ubuntu. It seems postfix 2.8.2 for ubuntu is not built with sqlite support. I come to this
    Message 1 of 4 , May 1, 2011
    • 0 Attachment
      So my goal is to use postfix 2.8.2 with sqlite support for ubuntu.

      It seems postfix 2.8.2 for ubuntu is not built with sqlite support. I
      come to this conclusion based on the log entries:

      May 1 10:45:56 postfix postfix/proxymap[17410]: fatal: dict_open:
      unsupported dictionary type: sqlite: Is the postfix-sqlite package
      installed?
      May 1 10:45:57 postfix postfix/master[9848]: warning: process
      /usr/lib/postfix/proxymap pid 17410 exit status 1
      May 1 10:45:58 postfix postfix/master[9848]: warning:
      /usr/lib/postfix/proxymap: bad command startup -- throttling
      May 1 10:45:58 postfix postfix/smtpd[10031]: warning: private/proxymap
      socket: service dict_proxy_open: Success
      May 1 10:46:57 postfix postfix/proxymap[17545]: fatal: dict_open:
      unsupported dictionary type: sqlite: Is the postfix-sqlite package
      installed?

      I tried to build postfix plain:

      make tidy
      make -f Makefile.init makefiles
      make

      But this errors out:

      ../../lib/libutil.a: undefined reference to `dict_pcre_open'
      ../../lib/libutil.a: undefined reference to `dict_tcp_open'
      collect2: ld returned 1 exit status
      make: *** [master] Error 1
      make: *** [update] Error 1


      I can fix it by editing the Makefile but I figure the build process
      should work without intervention... what am I doing wrong?

      Mike Power
    • Jeroen Geilman
      ... Use Christian Roessner s packages: https://launchpad.net/~christian-roessner-net/+archive/ppa
      Message 2 of 4 , May 1, 2011
      • 0 Attachment
        On 05/02/2011 02:42 AM, Mike Power wrote:
        > So my goal is to use postfix 2.8.2 with sqlite support for ubuntu.

        Use Christian Roessner's packages:

        https://launchpad.net/~christian-roessner-net/+archive/ppa
        <https://launchpad.net/%7Echristian-roessner-net/+archive/ppa>

        The base postfix package already includes sqlite:

        $ postconf -m
        btree
        cidr
        environ
        hash
        internal
        nis
        pcre
        proxy
        regexp
        sdbm
        sqlite
        static
        tcp
        texthash
        unix


        $ dpkg -l postfix*
        ||/ Name
        Version Description
        +++-====================================-====================================-========================================================================================
        ii postfix
        2.8.2-1~rns~lucid High-performance mail transport agent
        un postfix-cdb <none> (no description
        available)
        ii postfix-doc
        2.8.2-1~rns~lucid Documentation for Postfix
        un postfix-ldap <none> (no description
        available)
        un postfix-mysql <none> (no description
        available)
        ii postfix-pcre
        2.8.2-1~rns~lucid PCRE map support for Postfix
        un postfix-pgsql <none> (no description
        available)
        un postfix-tls <none> (no description
        available)

        --
        J.
      • Mike Power
        So I am confused, is Chrstian s packages the same as the base postfix package? With the base postfix package from ubuntu I got this error: root@postfix:
        Message 3 of 4 , May 1, 2011
        • 0 Attachment
          So I am confused, is Chrstian's packages the same as the base postfix package?

          With the base postfix package from ubuntu I got this error:

          root@postfix:

          /etc/ufw/ applications. d# May 1 10:35:46 postfix postfix/ proxymap[ 10146]: fatal: dict_open: unsupported dictionary type: sqlite: Is the postfix-sqlite package installed?
          May 1 10:35:47 postfix postfix/ smtpd[10031] : warning: private/proxymap socket: service dict_proxy_open: Success
          May 1 10:35:47 postfix postfix/ master[ 9848]: warning: process /usr/lib/ postfix/ proxymap pid 10146 exit status 1
          May 1 10:35:47 postfix postfix/ master[ 9848]: warning: /usr/lib/ postfix/ proxymap: bad command startup -- throttling

          Should I send over my conf, maybe I made a typo?

          On 05/01/2011 06:56 PM, Jeroen Geilman wrote:
          On 05/02/2011 02:42 AM, Mike Power wrote:
          So my goal is to use postfix 2.8.2 with sqlite support for ubuntu.

          Use Christian Roessner's packages:

          https://launchpad.net/~christian-roessner-net/+archive/ppa <https://launchpad.net/%7Echristian-roessner-net/+archive/ppa>

          The base postfix package already includes sqlite:

          $ postconf -m
          btree
          cidr
          environ
          hash
          internal
          nis
          pcre
          proxy
          regexp
          sdbm
          sqlite
          static
          tcp
          texthash
          unix


          $ dpkg -l postfix*
          ||/ Name                                 Version                              Description
          +++-====================================-====================================-========================================================================================
          ii  postfix                              2.8.2-1~rns~lucid                    High-performance mail transport agent
          un  postfix-cdb <none>                               (no description available)
          ii  postfix-doc                          2.8.2-1~rns~lucid                    Documentation for Postfix
          un  postfix-ldap <none>                               (no description available)
          un  postfix-mysql <none>                               (no description available)
          ii  postfix-pcre                         2.8.2-1~rns~lucid                    PCRE map support for Postfix
          un  postfix-pgsql <none>                               (no description available)
          un  postfix-tls <none>                               (no description available)

        • Ralf Hildebrandt
          ... Obviously not. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm
          Message 4 of 4 , May 1, 2011
          • 0 Attachment
            * Mike Power <mpower@...>:
            > So I am confused, is Chrstian's packages the same as the base postfix
            > package?

            Obviously not.

            --
            Ralf Hildebrandt
            Geschäftsbereich IT | Abteilung Netzwerk
            Charité - Universitätsmedizin Berlin
            Campus Benjamin Franklin
            Hindenburgdamm 30 | D-12203 Berlin
            Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
            ralf.hildebrandt@... | http://www.charite.de
          Your message has been successfully submitted and would be delivered to recipients shortly.