<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://bliki.rimuhosting.com/rdf'>
    <s:Snip rdf:about='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/maildrop+with+mysql+support+on+debian+sarge'
         s:cUser='luben'
         s:oUser=''
         s:mUser='luben'>
        <s:name>knowledgebase/linux/mail/maildrop with mysql support on debian sarge</s:name>
        <s:content>1 Maildrop with MySQL Support on Debian Sarge&#xD;&#xA;&#xD;&#xA;The default maildrop package in Debian Sarge comes without MySQL support. If you want to enable MySQL support you have to compile it from source:&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;apt-get install dpkg-dev&#xD;&#xA;apt-get install fakeroot&#xD;&#xA;cd /usr/local/src&#xD;&#xA;apt-get source maildrop&#xD;&#xA;cd maildrop-1.5.3&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;Edit the file debian/rules and add the lines:&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;--enable-syslog=1 --enable-maildropmysql --with-mysqlconfig=/etc/maildropmysql.config --without-db \\&#xD;&#xA;--enable-maildrop-uid=5000 --enable-maildrop-gid=5000 --enable-trusted-users=&quot;root postfix vmail&quot;&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;Now build and install .deb package:&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;apt-get build-dep maildrop&#xD;&#xA;dpkg-buildpackage -rfakeroot -uc -b&#xD;&#xA;dpkg -i maildrop_1.5.3-1.1sarge1_i386.deb&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;Note: The above setup assumes that your user and group vmail have UID/GID 5000. This may be different on your system. Check your vmail user in /etc/passwd and set accordingly.</s:content>
        <s:mTime>2006-09-02 12:11:41.0</s:mTime>
        <s:cTime>2006-09-02 12:07:53.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux'/>
                <rdf:li rdf:resource='#knowledgebase'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/postfixadmin on debian sarge'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/ruby on rails with apache 2.2 and mongrel'/>
                <rdf:li rdf:resource='#justin'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/postfix with amavis and mysql'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/postfixadmin+on+debian+sarge'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/Postfix mbox to Maildir conversion'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/mail not going through'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
