I would like to see a small change in the way the build works. That is,
I would like to have the --prefix be added to the path for the config
file, the pid file, and the log files. So for example, after:
configure --prefix=/home/testuser/dbmail
The default paths for the logs, config file and pid files in dbmail.h
would be:
/** default directory and extension for pidfiles */
#define DEFAULT_PID_DIR "/home/testuser/dbmail/var/run"
#define DEFAULT_PID_EXT ".pid"
/** default configuration file */
#define DEFAULT_CONFIG_FILE "/home/testuser/dbmail/etc/dbmail.conf"
/** default log files */
#define DEFAULT_LOG_FILE "/home/testuser/var/log/dbmail.log"
#define DEFAULT_ERROR_LOG "/home/testuser/dbmail/var/log/dbmail.err"
This allows DBMail to be more easily self contained, and eliminates the
need for root access just to test things.
What do people think of this idea?
Matt