>Hello --
>
>Just go DBMail up and running,, almost. After struggling with sendmail
>I've hit a new roadblock. When I send a message to the DBM system it
>complains it can't find it's config file, which is in /etc per the
>install instructions:


This is a common problem and its very easy to fix...

Make sure that all the references to loading the config file "dbmail.conf"
are as follows then it will find the config file properly:

imapd.c:24:char *configFile = "/etc/dbmail.conf";
main.c:28:char *configFile = "/etc/dbmail.conf";
maintenance.c:22:char *configFile = "/etc/dbmail.conf";
pop3d.c:31:char *configFile = "/etc/dbmail.conf";
user.c:20:char *configFile = "/etc/dbmail.conf";

Suggestion to the authors... this should be a #define in a defaults.h file,
like:
#define DBMAILCONF_FILE  "/etc/dbmail.conf"

And the files would reference the default setting as:
imapd.c:24:char *configFile = DBMAILCONF_FILE;
main.c:28:char *configFile = DBMAILCONF_FILE;
maintenance.c:22:char *configFile = DBMAILCONF_FILE;
pop3d.c:31:char *configFile = DBMAILCONF_FILE;
user.c:20:char *configFile = DBMAILCONF_FILE;

This way you only need to make a change in one place.


Reply via email to