[Mimedefang] Timeouts and bogus replies
amadill at hwy16.com
amadill at hwy16.com
Sun Dec 2 18:16:25 EST 2001
I've compiled and installed MIMEDefang and it seems to work well except that it times out unless I set the timeout
parameters in sendmail.cf to very long values. Attached is a copy of the maillog.
Dec 2 14:41:34 router mimedefang-multiplexor: started; minSlaves=2, maxSlaves=10, maxRequests=100,
maxIdleTime=300, busyTimeout=300, clientTimeout=30
Dec 2 14:41:34 router mimedefang-multiplexor: Starting slave 0 (pid 3061) (1 running): Starting initial slaves
Dec 2 14:41:34 router mimedefang-multiplexor: Starting slave 1 (pid 3062) (2 running): Starting initial slaves
Dec 2 14:41:35 router sendmail[3078]: starting daemon (8.11.6): SMTP+queueing at 01:00:00
Dec 2 14:42:20 router sendmail[3084]: fB2MgIF03084: from=<amadill at bogus.com>, size=94518, class=0,
nrcpts=1, msgid=<3C09D3C6.32403.190D84A5 at localhost>, proto=ESMTP, daemon=MTA,
relay=IDENT:root at onramp.bogus.com [204.244.116.2]
Dec 2 14:42:20 router mimedefang-multiplexor: putOnBusyList(0): Busy=1, free=9
Dec 2 14:42:26 router sendmail[3087]: fB2MgQn03087: from=mailadmin at localhost, size=1340, class=0, nrcpts=1,
msgid=<200112022242.fB2MgQn03087 at router.aspen.bogus.com>, relay=root at localhost
Dec 2 14:43:46 router sendmail[3087]: fB2MgQn03087: to=amadill at bogus.com, ctladdr=mailadmin at localhost
(501/501), delay=00:01:20, xdelay=00:01:20, mailer=esmtp, pri=31340, relay=onramp.bogus.com. [204.244.116.2],
dsn=2.0.0, stat=Sent (OAA28190 Message accepted for delivery)
Dec 2 14:43:46 router sendmail[3089]: fB2MhkO03089: from=mailadmin at localhost, size=561, class=0, nrcpts=1,
msgid=<200112022243.fB2MhkO03089 at router.aspen.bogus.com>, relay=root at localhost
*** here is the initial timeout - prior to this ps x shows the virus scanner working
3078 ? S 0:00 sendmail: accepting connections
3098 ? S 0:00 sendmail: server IDENT:root at onramp.bogus.com [204.244.116.2] child wait
3099 ? S 0:00 /usr/local/bin/mimedefang -m /var/run/mdefang-mx.sock -p /var/run/mimedefang.sock
3100 ? S 0:00 sendmail: ./fB2MoZF03100 IDENT:root at onramp.bogus.com [204.244.116.2]: DATA
3101 ? R 0:02 /usr/local/bin/uvscan --noboot --secure --allole ./Work
3102 pts/3 R 0:00 ps xa
*** It completes it's task in just seconds...
*** Then ps x shows sendmail still waiting on an IDENT?
3098 ? S 0:00 sendmail: server IDENT:root at onramp.bogus.com [204.244.116.2] child wait
3099 ? S 0:00 /usr/local/bin/mimedefang -m /var/run/mdefang-mx.sock -p /var/run/mimedefang.sock
3100 ? S 0:00 sendmail: ./fB2MoZF03100 IDENT:root at onramp.bogus.com [204.244.116.2]: DATA
3108 ? S 0:00 sendmail: ./fB2Mq4c03108 onramp.bogus.com.: client MAIL
***
Dec 2 14:44:20 router sendmail[3084]: fB2MgIF03084: milter_read(mimedefang): timeout
Dec 2 14:44:20 router sendmail[3084]: fB2MgIF03084: to=<amadill at aspen.bogus.com>, delay=00:02:02,
pri=124518, relay=parts.aspen.bogus.com, stat=Please try again later
Dec 2 14:45:06 router sendmail[3089]: fB2MhkO03089: to=<amadill at bogus.com>, ctladdr=mailadmin at localhost
(501/501), delay=00:01:20, xdelay=00:01:20, mailer=esmtp, pri=30561, relay=onramp.bogus.com. [204.244.116.2],
dsn=2.0.0, stat=Sent (OAA28208 Message accepted for delivery)
Dec 2 14:45:06 router mimedefang.pl[3061]: filter: <3C09D3C6.32403.190D84A5 at localhost>: notify_sender=1
quarantine=1
Dec 2 14:45:06 router mimedefang-multiplexor: putOnFreeList(0): Busy=0, free=10
Dec 2 14:45:06 router sendmail[3091]: fB2MiKF03091: milter_send_command(mimedefang): returned bogus
response b
Dec 2 14:45:06 router sendmail[3091]: fB2MiKF03091: Please try again later
Dec 2 14:45:06 router sendmail[3091]: fB2MiKF03091: from=<amadill at bogus.com>, size=94097, class=0,
nrcpts=0, proto=ESMTP, daemon=MTA, relay=IDENT:root at onramp.bogus.com [204.244.116.2]
Dec 2 14:45:07 router sendmail[3093]: fB2Mj6F03093: milter_send_command(mimedefang): returned bogus
response m
Dec 2 14:45:07 router sendmail[3093]: fB2Mj6F03093: Please try again later
Dec 2 14:45:07 router sendmail[3093]: fB2Mj6F03093: from=<amadill at bogus.com>, size=94097, class=0,
nrcpts=0, proto=ESMTP, daemon=MTA, relay=IDENT:root at onramp.bogus.com [204.244.116.2]
*** from sendmail.cf
Xmimedefang, S=unix:/var/run/mimedefang.sock, F=T, T=S:120s;R:120s;E:5m
***
Is it possible that the mimedefang.pl or mimedefang is waiting on the delivery of the mail before returning?
This works though...
*** from sendmail.cf
Xmimedefang, S=unix:/var/run/mimedefang.sock, F=T, T=S:300s;R:300s;E:5m
***
BTW - this is a great package, thanks.
More information about the MIMEDefang
mailing list