Also, please note that to get this to compile on FreeBSD I had to change all references to <crypto.h> to <unistd.h>.
It also seems that the generated Makefile does not add "config" to the "all:" target. Even doing that resulted in: cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE settings.c -o dbmail-config mysql/dbmysql.o list.o md5.o debug.o dbmd5.o mime.o memblock.o mysql/dbauthmysql.o config.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -lmysqlclient -lcrypto settings.c: In function `main': settings.c:50: warning: implicit declaration of function `db_clear_config' settings.c:61: warning: implicit declaration of function `strchr' settings.c:61: warning: assignment makes pointer from integer without a cast settings.c:71: warning: implicit declaration of function `db_insert_config_item'/tmp/cctpxC5m.o: In function `main': /tmp/cctpxC5m.o(.text+0xc0): undefined reference to `db_clear_config' /tmp/cctpxC5m.o(.text+0x14a): undefined reference to `db_insert_config_item' *** Error code 1 So maybe there was a reason it wasn't included as a target in the first place. ;-) --Jo Quoting Boyan Alexiev: Hello! I have tried to install dbmail-1.0 but until I fixed some omissions in the install and source files it couldn't run. Please check them and let me know if I am correct. I am using Debian with Postfix and mysql. settings.h: #define DEFAULT_CONFIG_FILE "dbmail.conf" should be #define DEFAULT_CONFIG_FILE "/etc/dbmail.conf" main.c: char *configFile = "dbmail.conf"; should be char *configFile = "/etc/dbmail.conf"; These omissions cause dbmail-smtp to give the following message: dbmail/smtp[8156]: ReadConfig(): starting procedure dbmail/smtp[8156]: ReadConfig(): could not open config file [dbmail.conf] Also the files build.sh and install.sh have some errors: build.sh should call install-dbmail with the './' in front: ./install-dbmail.sh $bindir and the manuals path should be targetman=/usr/man/man1/ I have suggestions regarding the default paths: mylibdir=/usr/lib/ bindir=/usr/sbin/ If I have specified paths which are used just on Debian, please let the user choose these so we don't have to edit the files. Best regards, Boyan Alexiev [EMAIL PROTECTED]