On Jun 23, 2010, at 8:55 AM, George Roberts wrote:
> ...
> In filter_end, I do this:
>
> if ($Header{'x-purity-verdict'} =~ /spam/) {
> md_syslog('warning', 'Redirecting to quarantine - Engine verdict: ' .
> $Header{'x-purity-verdict'});
>
> foreach my $rec (@Recipients) {
> delete_recipient($rec);
> }
> add_recipient("[email protected]");
> }
> ...
> Jun 23 04:27:10 death purity[662]:
> MDLOG,o5N9R9GR005379,mail_in,,,<[email protected]>,<[email protected]>,Merchant
> Email Receipt
> Jun 23 04:27:10 death sendmail[5379]: o5N9R9GR005379: Milter delete: rcpt
> <[email protected]>
> Jun 23 04:27:10 death sendmail[5379]: o5N9R9GR005379: Milter add: rcpt:
> [email protected]
> Jun 23 04:27:10 death sendmail[5379]: o5N9R9GR005379: Milter accept: message
>
> I'm just confused how it could even get to that code without putting in the
> log line and what I need to do to fix this. Our engine is properly
> diagnosing when something is spam, but our mimedefang filter is sending it to
> quarantine anyway even when it's not. :) Any thoughts?
Here's a thought: check syslog configuration. You can choose to filter which
syslog messages will make it to the logs -- perhaps you have your syslog
configured to eliminate the warning message...
Scott
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang