[Mimedefang] accept, then scan?

Andy Lyttle mimedefang at phroggy.com
Fri Sep 21 12:36:32 EDT 2007

> No, you can still reject the message after the DATA part. That's what
> action_bounce in mimedefang is for.
> However, you can only reject the entire message. If it was sent to
> multiple recipients, it is rejected for all recipients, or accepted
> for all recipients.

I see.  Good to know.

> Simplest fix: take SpamAssassin out of mimedefang, run spamd, and
> call spamc from .procmailrc. This of course requires a change to
> the .procmailrc for every local user.

Ahh...  I was thinking about it, and realized taking SpamAssassin out  
of MIMEDefang was the only way it could be done, but calling it from  
procmail is the missing piece I hadn't thought of.

> You could also limit the maximum size of the email you're scanning.
> SpamAssassin is known to get pretty slow with larger emails. Since
> most spam is smaller than 100k, you can get away with only scanning
> mails smaller than 100k.

Unfortunately I'm already doing this.  I looked at one of the  
messages that was having trouble, and it's only 27k.

~ Andy

More information about the MIMEDefang mailing list