Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

minor bug

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


curtis at maurand

Oct 30, 2008, 12:44 PM

Post #1 of 3 (789 views)
Permalink
minor bug

I'm not a C programmer so I don't know how to fix this, but when
compiling dbmail it ignores the --sysconfdir= directive during
configure. Should write a script to compile it. I've compiled quite a
few of these on multiple hosts since it first came out, but usually I
configure it this way. It also ignores the localstatedir directive and
leaves all its state and pid files all over /var/run

./configure --prefix=/usr --localstatedir=/var/run/dbmail
--sysconfdir=/etc/dbmail --with-mysql --with-sieve

Its minor, but I thought you should know. It worked this way on the 2.0
branch, too.

Thanks,
Curtis


paul at nfg

Oct 30, 2008, 1:32 PM

Post #2 of 3 (736 views)
Permalink
Re: minor bug [In reply to]

Curtis Maurand wrote:
> I'm not a C programmer so I don't know how to fix this, but when
> compiling dbmail it ignores the --sysconfdir= directive during
> configure. Should write a script to compile it. I've compiled quite a
> few of these on multiple hosts since it first came out, but usually I
> configure it this way. It also ignores the localstatedir directive and
> leaves all its state and pid files all over /var/run
>
> ../configure --prefix=/usr --localstatedir=/var/run/dbmail
> --sysconfdir=/etc/dbmail --with-mysql --with-sieve
>
> Its minor, but I thought you should know. It worked this way on the 2.0
> branch, too.

Curtis,

This does work as advertised. I always use those since they are required
for the debian packages.

from debian/rules:

CONFFLAGS=--prefix=/usr --mandir=\$${prefix}/share/man \
--sysconfdir=/etc/dbmail \
--localstatedir=/var/run/dbmail \
--with-logdir=/var/log/dbmail \
--infodir=\$${prefix}/share/info





--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


curtis at maurand

Oct 31, 2008, 5:04 AM

Post #3 of 3 (713 views)
Permalink
Re: minor bug [In reply to]

I haven't ever had it work. I'm running Gentoo and I've installed from
source, not portage. I've tried not putting dbmail.conf in /etc and I
get nothing but errors from dbmail looking for the conf file.

/var/run/dbmail has no files in it. I even recompiled this afternoon
and tested, no dice.

Paul Stevens wrote:
> Curtis Maurand wrote:
>> I'm not a C programmer so I don't know how to fix this, but when
>> compiling dbmail it ignores the --sysconfdir= directive during
>> configure. Should write a script to compile it. I've compiled quite
>> a few of these on multiple hosts since it first came out, but
>> usually I configure it this way. It also ignores the localstatedir
>> directive and leaves all its state and pid files all over /var/run
>>
>> ../configure --prefix=/usr --localstatedir=/var/run/dbmail
>> --sysconfdir=/etc/dbmail --with-mysql --with-sieve
>>
>> Its minor, but I thought you should know. It worked this way on the
>> 2.0 branch, too.
>
> Curtis,
>
> This does work as advertised. I always use those since they are
> required for the debian packages.
>
> from debian/rules:
>
> CONFFLAGS=--prefix=/usr --mandir=\$${prefix}/share/man \
> --sysconfdir=/etc/dbmail \
> --localstatedir=/var/run/dbmail \
> --with-logdir=/var/log/dbmail \
> --infodir=\$${prefix}/share/info
>
>
>
>
>
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.