> -----Original Message----- > From: Mike Carlson > How would I tweak it so that it writes a line for mail_in > when its a good > message and spam when its been tagged? > > Fogive my n00byness. > > > md_graphdefang_log('mail_in'); Move this into the else block if ($hits >= $req) { } else { md_graphdefang_log('mail_in'); }