[Mimedefang] Scaling MIMEDefang / SA on Solaris

Xiaoyan Ma xma at haas.berkeley.edu
Sat Apr 19 19:09:00 EDT 2003

At 09:38 AM 4/16/2003 -0400, you wrote:
>I'm going nuts!  I've been playing with MIMEDefang / SpamAssassin on Solaris
>and Linux for about 6 weeks.  I have the latest sendmail running with MD /
>SA (also both at the latest releases) under Linux (Redhat 8.0) and Solaris
>Functionally, I'm extremely impressed by this software combo.  It is rock
>solid on several of my low mail-volume sites.
>But for the last 2 weeks, I've been trying to do deploy this combo to a
>larger volume site.  This site is running multiple mail servers (2 primary
>in parallel then two fallback MX hosts).  The two primary hosts are
>multi-processor SPARCs (2 processors) each with 1gb memory.  All 4 servers
>are fully patched Solaris 8 (running 64-bit kernels but with 32-bit
>compilations of sendmail, perl, ...).  Yesterday, without MD / SA, this site
>processed about 900,000 messages ... the two primary servers barely break a
>sweat and the secondary MX hosts don't get used.
>My problem is that with MD / SA deployed, the mail service falls flat on its
>face.  I'd post configs, but I've tried so many different approaches that I
>have no one set of files on which to request feedback.
>There are several types of failures that occur.  Most common is that the
>milter goes to an error state and at some point either sendmail or MD
>removes the mimedefang.sock file.  During milter failures, I see "Please try
>again later" SMTP response even though I've removed the F=T from the input
>filter m4 sendmail configuration.

Which version of MD are you running?

I had the same error on a Solaris 8 box,  and upgrade to 2.32-BETA-1 took 
care of it :

 > Apr  9 03:39:27 bear-eth0 mimedefang[23208]: [ID 702342 mail.warning]
 > h39AdQbS005474: Could not create directory 
/var/spool/MIMEDefang/mdefang-3E93F85F-0: File exists

Aha.  Please try 2.32-BETA-1; it should fix this problem on Solaris.
It's related to running out of file descriptors; you should also see
the message:



More information about the MIMEDefang mailing list