[Mimedefang] Error when starting

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Tue Nov 26 05:12:01 EST 2002


On Tue, 26 Nov 2002, John Angelmo wrote:

> I'm getting this error when trying to send to my server:
>
> Nov 26 09:15:50 h162n2fls35o1000 sm-mta[32791]: starting daemon
> (8.12.6): SMTP+queueing at 00:15:00
> Nov 26 09:18:12 h162n2fls35o1000 sm-mta[32803]: gAQ8ICxj032803: Milter
> (mimedefang): error connecting to filter: Socket operation on non-socket
> Nov 26 09:18:12 h162n2fls35o1000 sm-mta[32803]: gAQ8ICxj032803: Milter
> (mimedefang): to error state
> Nov 26 09:18:12 h162n2fls35o1000 sm-mta[32803]: gAQ8ICxj032803: Milter:
> initialization failed, temp failing commands

> MAIL_FILTER(`mimedefang',
> `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T
> :15m;S:4m;R:4m;E:10m')dnl

/var/spool/MIMEDefang/mimedefang.sock is no (valid) socket, hence, the
"Socket operation on non-socket" error.
Maybe, sendmail started faster then MIMEDefang, therefore the basic layout
of my sendmail startup script looks like this:


sock=/var/spool/MIMEDefang/mimedefang.sock
[...]

# Remove the old sockets and PID files
rm -f "$mx_sock" "$sock" "$pid" "$mx_pid"

# Start MIMEDefang & Multiplexor here

# Wait until the socket gets create by MIMEDefang eventually
while [ \! -e "$sock" ]; do
	echo Waiting for MIMEDefang to start up >>"$run_log"
	sleep 1
done

# When the sendmail <-> MIMEDefang socket is avail, start sendmail here


Actually, I have none through two "wait" lines in the run log.

Bye,

-- 

Steffen Kaiser



More information about the MIMEDefang mailing list