Hi, Here is a modest patch to enable verbose logging to STDERR when -v is passed to dbmail-imapd. The comments in -h imply that this is the proper behavior, and I think it would be nice to have.
Obviously the same idea could be applied to the other daemons. Matt
[EMAIL PROTECTED]:/usr/src/svn/dbmail$ svn diff imapd.c Index: imapd.c =================================================================== --- imapd.c (revision 2023) +++ imapd.c (working copy) @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) { serverConfig_t config; - int result, no_daemonize = 0; + int result, no_daemonize = 0, log_console = 0; int opt; g_mime_init(0); @@ -76,7 +76,8 @@ while ((opt = getopt(argc, argv, "vVhqnf:p:")) != -1) { switch (opt) { case 'v': - /* TODO: Perhaps verbose should log to the console with -n? */ + log_console = 1; + configure_debug (5,5); break; case 'V': printf("\n*** DBMAIL: dbmail-imapd version $Revision$ %s\n\n", @@ -115,6 +116,9 @@ if (no_daemonize) { get_config(&config); + if (log_console) { + configure_debug(5,5); + } StartCliServer(&config); config_free(); g_mime_shutdown();