[Mimedefang] pure whitelisting

jef moskot jef at math.miami.edu
Tue Aug 12 15:29:31 EDT 2008


On Tue, 12 Aug 2008, John Nemeth wrote:
> Just change the message appropriate and uncomment, i.e.:
> md_syslog("debug", $QueueID . ", DEBUG: $sender is: " . $sender);

Thank you, that was ludicrously useful.  Although the "debug" level
stopped working after the first call, I am now lying about the importance,
and the "err" messages are showing up usefully.

You helped me figure out another issue as well.  I didn't realize the
variables were persistent from scan to scan, so I couldn't figure out why
many messages were whitelisted when they should be.

My boolean needed to be reset each loop or once a properly whitelisted
message skated through, they ALL did, but I was mucking with things and
restarting so much, it wasn't clear to me what was going on.  Restarting
always seemed to "fix" it, and I wasn't smart enough to realize that
"breaking" it meant a whitelisted message had gone through.

Thanks, you've given me my eyes!

>      Also, I noted that you were quoting your strings with ".  If you
> use ', then the metacharacters won't have any meaning.

The quotes I used in this thread were just pseudocode approximations of
what I meant, but I'll remember that tip too.

Thanks so much!

Jeffrey Moskot
System Administrator
jef at math.miami.edu



More information about the MIMEDefang mailing list