[Mimedefang] problem with mimedefang: fails

G. Roderick Singleton gerry at pathtech.org
Fri Jun 13 19:29:00 EDT 2003


On Fri, 2003-06-13 at 16:27, Ramón Alvarez Rayo wrote:
> hello,
> 
> i was revised every steps of the setup and it is ok,
> 
> Jun 10 16:26:12 ns sendmail[15586]: h5ALQCoa015586: Milter (mimedefang): to 
> error state
> Jun 10 16:26:12 ns sendmail[15586]: h5ALQCoa015586: Milter: initialization 
> failed, temp failing commands
> Jun 10 16:26:12 ns sendmail[15608]: h5ALQCoa015608: Milter (mimedefang): 
> error connecting to filter: Connection refused by 
> /var/spool/MIMEDefang/mimedefang.sock
> 

THis should not happen. You have a perms problem. e.g. owner,
directories etc. Check this.  You don't say but it appears that you are
using sendmail. In that case ensure that you start mimedefang before
sendmail and stop it after. Rather than mess with linking mimedefang
into  the init/rc heirarchy why not simply start and stop it via
sendmail init. For example at the top of sendmail start() insert
        # Start daemons.
        /etc/init.d/mimedefang start

and at the end of stop() insert 
        /etc/init.d/mimedefang stop
before any return values and the closing brace like the following
        return $RETVAL
}

Now all should be owned and operated by sendmail and, of course, if your
perms are okay.


-- 
Gerry Roderick Singleton <gerry at pathtech.org>
416-452-4583




More information about the MIMEDefang mailing list