[Mimedefang] Mimedefang delivered same email multiple times

Ajaya Sharma a.sharma at garvan.org.au
Thu Apr 15 20:56:22 EDT 2004


Hi,

I have a problem with mimedefang delivering more than one copy of the same
email 
at different times.

I'd be very grateful for any help.

My setup is as follows:

Hardware: Sun sparc 10, 128 MB

OS:  SunOS 5.6 (solaris 2.6)

Software: perl 5.8, Sendmail 8.12.10, ClamAV 0.70, Spamassassin 2.63 
	    Mimedefang 2.41

System load: Really not much (only 2 users are using for the test run.
Please see the
					mailstats below)
# date
Thu Apr 15 15:33:37 EST 2004

# mailstats
Statistics from Wed Apr 14 17:01:58 2004
 M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis  Mailer
 3       24        933K      135       3794K        0       0  local
 5      116       3714K        4         62K        0       0  esmtp
=============================================================
 T      140       4647K      139       3856K        0       0
 C      138                    4                    0
#


Problems: 
	
1.	MimeDefang delivered same email multiple times (below is an 
						example of duplicated
delivery)

> grep -i i3EH0pJL007824 /var/log/syslog
Apr 15 03:07:32 Host sm-mta[17294]: i3EH7J54017294:
from=<root at mydomain.com>, size=6978, class=0, nrcpts=1,
msgid=<200404141700.i3EH0pJL007824 at mydomain.com>, proto=ESMTP, daemon=MTA,
relay=mydomain.com [xxx.xxx.xxx.xxx]
Apr 15 04:22:13 Host sm-mta[17398]: i3EIMC54017398:
from=<root at mydomain.com>, size=6978, class=0, nrcpts=1,
msgid=<200404141700.i3EH0pJL007824 at mydomain.com>, proto=ESMTP, daemon=MTA,
relay=mydomain.com [xxx.xxx.xxx.xxx]

2.	Errors in the syslog file (more details at the end of this post)
		2a) Milter (mimedefang): timeout before data read
		2b) Milter (mimedefang): to error state
		2c) smfi_chgheader returned MI_FAILURE
		2d) smfi_addheader returned MI_FAILURE

Config files parameters:

I) Sendmail.mc

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

II) /etc/init.d/mimedefang (startup script)

 MX_SOCKET=$SPOOLDIR/mimedefang-multiplexor.sock
 MX_REQUESTS=200
 MX_MINIMUM=5
 MX_MAXIMUM=7
 MX_BUSY=600

III) Mimedefang is run as (using /etc/init.d/mimedefang):

/usr/local/bin/mimedefang-multiplexor -r 10 -p
/var/spool/MIMEDefang/mimedefang




Below is the error message from the syslog file.

# 
# grep -i i3DH0r8B025597 /var/log/syslog

Apr 14 03:07:32 xxx.xxx.xxx.xxx sm-mta[15462]: i3DH7K54015462:
from=<root at HostName.domain>, size=6978, class=0, nrcpts=1,
msgid=<200404131700.i3DH0r8B025597 at HostName.domain>, proto=ESMTP,
daemon=MTA, relay=HostName.domain[xxx.xxx.xxx.xxx]
Apr 14 04:22:17 xxx.xxx.xxx.xxx sm-mta[15565]: i3DIM956015565:
from=<root at HostName.domain>, size=6978, class=0, nrcpts=1,
msgid=<200404131700.i3DH0r8B025597 at HostName.domain>, proto=ESMTP,
daemon=MTA, relay=HostName.domain[xxx.xxx.xxx.xxx]
# 
# grep -i i3DH7K54015462 /var/log/syslog
Apr 14 03:07:32 xxx.xxx.xxx.xxx sm-mta[15462]: i3DH7K54015462:
from=<root at HostName.domain>, size=6978, class=0, nrcpts=1,
msgid=<200404131700.i3DH0r8B025597 at HostName.domain>, proto=ESMTP,
daemon=MTA, relay=HostName.domain[xxx.xxx.xxx.xxx]
Apr 14 03:11:33 xxx.xxx.xxx.xxx sm-mta[15462]: i3DH7K54015462: Milter
(mimedefang): timeout before data read
Apr 14 03:11:33 xxx.xxx.xxx.xxx sm-mta[15462]: i3DH7K54015462: Milter
(mimedefang): to error state
Apr 14 03:11:33 xxx.xxx.xxx.xxx sm-mta[15462]: i3DH7K54015462:
to=<user at xxx.xxx.xxx.xxx.mydomain.com>, delay=00:04:01, pri=36978,
stat=Please try again later
Apr 14 03:11:39 xxx.xxx.xxx.xxx mimedefang.pl[14723]:
MDLOG,i3DH7K54015462,mail_in,,,<root at HostName.domain>,<user at xxx.xxx.xxx.xxx.
mydomain.com>,Tripwire cron report - NEWHost 
Apr 14 03:11:41 xxx.xxx.xxx.xxx mimedefang[14721]: i3DH7K54015462:
smfi_chgheader returned MI_FAILURE
Apr 14 03:11:41 xxx.xxx.xxx.xxx mimedefang[14721]: i3DH7K54015462:
smfi_addheader returned MI_FAILURE
# 

Regards,
Ajaya Sharma

___________________________________________________________________
Ajaya R. Sharma
Department of Information Technology
Garvan Institute of Medical Research           Tel:  (02) 9295 8148
384 Victoria St.         	        email: a.sharma at garvan.org.au
Darlinghurst NSW 2010, Australia      web: http://www.garvan.org.au
___________________________________________________________________  




More information about the MIMEDefang mailing list