Rodrigo Borges Pereira wrote:

Hi all!

I started using the greylist patch today. It *seems* to be working fine, but
i see no debug logging, despite the fact that the website states that
logging is enabled.
I searched the list archives for references, but found none.

Anyway, looking at the patch code:

+#define DBGSCAN 1
+#define SQLCMDSIZE 1024
+
+FILE *dbglog = NULL;

I guess the last line should/could be something like :

        FILE *dbglog = fopen("/var/log/grey.log","a");

right?

just to confirm this :)



Hmm, that's from an old local_scan.c. I have updated the debug code to print to stderr. Trying to log to a file is crazy with multiple smtp connections. I had problems right off the bat. I thought new logging stuff it was included in the patches. I'll try to get those patches updated tomorrow.


Regards,

Bill

Reply via email to