[Mimedefang] mimedefang.sock file not being created, mimedefang-multiplexor.sock is...

Art Garret ag at fairviewnet.net
Sat Jul 12 13:17:01 EDT 2003


I am trying to setup Sendmail to work with mimedefang. I am running Redhat
9, Sendmail 8.12.8, and Mimedefang 2.35. Sendmail is compiled with milter
support and I have installed libmilter. I installed mimedefang, all the perl
modules, spamassassin and NAI uvscan per instructions at:
http://www.rudolphtire.com/mimedefang-howto/

I have the following entry in my mc file:

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')

When I telnet to port 25 to try to send a message, I get "451 4.7.1 Please
try again later"

Viewing my /var/log/maillog in real time (with tail -f) I see that as soon
as I open a connection to port 25 the following 3 lines instantly appear:

... Milter (mimedefang): local socket name
/var/spool/MIMEDefang/mimedefang.sock unsafe
... Milter (mimedefang): to error state
... Milter: initialization failed, temp failing commands

I added the user defang and created the /var/spool/MIMEDefang and
/var/spool/MD-Quarantine owned by defang with chmod 700 as per the
documentation. I also have the init scripts correctly installed and
mimedefang is starting before sendmail.

The permissions seem to be correct, however, the file mimedefang.sock isn't
being created, only the mimedefang-multiplexor.sock file is being created. I
have no idea why. On a long shot I tried changing the line in my mc file to
point to mimedefang-multiplexor.sock instead of mimedefang.sock, but that
didn't work.

I searched the archives for this problem, and I noticed someone else who had
this problem but he traced it back to a typo is his mc file, mine seems to
be correct. Please let me know what I have missed.

Thanks,

A




More information about the MIMEDefang mailing list