The scripts contain faulty settings for debian, 

( take the INSTALL and add these sections or change you cvs for debian if not 
done.


2.1     Debian ( worked on SID,kernel 2.4.20 postfix, mysql dbmail1.0 )

        apt-get install libssl-dev libmysqlclient10-dev libstdc++2.10-dev (dont 
sure if its needed
        Add the following to:

        main.c:
        char *configFile = "dbmail.conf";
        should be
        char *configFile = "/etc/dbmail.conf";

        settings.h:
        #define DEFAULT_CONFIG_FILE "dbmail.conf"
        should be
        #define DEFAULT_CONFIG_FILE "/etc/dbmail.conf"

        In user.c added
        #include <sys/types.h>
        #include <unistd.h>

        In build.sh:
        install-dbmail.sh $bindir
        should be
        ./install-dbmail.sh $bindir

        In install-dbmail.sh:
        targetman=/usr/local/man/man1/
        should be
        targetman=/usr/share/man/man1/


        /bin/chown $user_dbmail:$group_dbmail $file
        /bin/chmod 770 $file
        /bin/cp -fp $file $targetexec

2.99     For Debian edit the build.sh
        change the following paths
        mylibdir=/usr/lib/
        binddir=/usr/sbin/

4.99
        adduser --system --no-create-home --group dbmail --disabled-login dbmail

which user uid & gid are needed for the smtp pop and imap daemons of dbmail? 

6.1     For Debian:
        dbmail    unix  -       n       n       -       -       pipe
        flags=  user=dbmail:dbmail argv=/usr/sbin/dbmail-smtp -d 
                        ^^    ^^
                     ( this is ? )


7.1     And for debian (cron.d ? cron.daily ? ):
        0 3 * * * /usr/sbin/dbmail-maintenance -cfpd >> /dev/null 2>&1


i have 1 question, ( sorry am a newbie ) , ;) 
i have problems with acces rights, which uid/ gid is used for dbmail-smtp ? im 
running debian sid, postfix-mysql , dbmail from source ( not you package ) 

thanx 
LvB


> 
> Van: Paul Stevens <[EMAIL PROTECTED]>
> Datum: 2003/02/04 di PM 10:17:05 CET
> Aan: dbmail@dbmail.org
> Onderwerp: Re: [Dbmail] starting dbmail-imapd and dbmail-popd?
> 
> shon wrote:
> 
> >does anyone have any runtime scripts and/or a list of options to pass to
> >these programs when they start. i assume that pop would be an inet program
> >and imap a server daemon
> >
> >
> >  
> >
> You can download the source for the debian package I've created from:
> 
> http://debian.nfgd.net/debian/unstable/dbmail_1.0cvs-7.tar.gz
> 
> In there you'll find debian/dbmail.init
> 
> Of course you'll have to edit the script to match your system.
> 
> 
> 
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

Reply via email to