Hi, Today I saw some entries in our yesterday's maillog that showed "whitelist=bypass".
May 9 17:16:02 <svr> postfix-policyd: rcpt=221924, whitelist=bypass, host=<sndr_ip> (unknown), from=,sndr_email>, to=<rcpt_email>, size=859 Earlier this morning, there are the normal "greylist=new", etc messages. I connected to mysql:policyd, performed a query, and it worked; I didn't even try to correct a problem. README.txt from the source tarball says: module=bypass <- mysql failed inside module (module can be whitelist,blacklist,helo,etc..) I found "how" this message is logged in policyd.c: /* * handle database failure */ if(probe == -20) { last_mail_time=timenow; goto passthrough; } ... passthrough: /* * in order to reach here, no modules have been used. * switch into pass-through mode and allow. */ logmessage("rcpt=%lu, module=bypass, host=%s (%s), from=%s, to=%s, size=%s\n", rcpt_count, /* recipient count */ host_array[fd][2], /* host */ host_array[fd][0], /* hostname */ triplet_array[fd][1], /* from */ triplet_array[fd][2], /* rcpt */ triplet_array[fd][3]); /* size */ So, indeed the MySQL connction failed and no module was used. What I'd like to know is: how I can find out if this was a MySQL or Policyd problem (because everything is working now without correcting or restarting anything)? Thanks! Rob ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users