[Mimedefang] MIMEDefang not working with SA and ClamAV

Daniel Taylor dtaylor at vocalabs.com
Thu May 20 10:19:06 EDT 2004


Iván Belmonte wrote:
> Looking the sysog, It shows the next line for each mail I get:
> 
> mimedefang.pl[18144]: MDLOG,i4KB3wpv018889,mail_in,,,<sendser at doman.net>,<me at mynet.net>,some subject
> 
> And nothing more.
> 
> Sendmail i properly configured, it's obvious, if not MIMEDefang wouldn't work.
> 
> Any ideas?
> 
>
Here's what I do for tracking.
The magic incantation is the md_graphdefang_log calls.
Oh, the X-Keywords header is so that mimedefang tagged emails show
up as junk automaticly in Mozilla et al.

if ($hits >= $req) {
   action_change_header("X-Spam-Score", "$hits ($score) $names");
   action_add_header("X-Keywords","Junk");
   md_graphdefang_log('spam', $hits, $names);
} else {
   # Delete any existing X-Spam-Score header?
   md_graphdefang_log('notspam', $hits, $names);
   action_delete_header("X-Spam-Score");
}

-- 
Daniel Taylor          VP Operations            Vocal Laboratories, Inc.
dtaylor at vocalabs.com   http://www.vocalabs.com/        (952)941-6580x203



More information about the MIMEDefang mailing list