[Mimedefang] Message duplication

listuser at neo.pittstate.edu listuser at neo.pittstate.edu
Tue Oct 22 14:41:02 EDT 2002


I'm tesing MD 2.21 on a RH 7.3 box with Sendmail 8.12.6 and SpamAssassin
2.43.  I noticed yesterday that some of my messages were being duplicated
when written to the mail spool.  Sendmail doesn't report dupes.  The
messages are identical except for X-UIDL (if the message had one).  I
can't remember what creates the X-UIDL.  The odd thing was that only a few
messages sent to my account were duped.  Many messages sent to a
co-worker's account were duped.  And all of the message sent to a role
account were duped.  Odd.  I thought my procamil recipe to keep a copy of
all spam with a score over 5 was the problem.  I disabled it.  Didn't fix
it.  I eventually restarted MD.  I then upgraded to 2.23.  I noticed that
the rc script doesn't kill mimedefang processes for some reason.  I forgot
that I needed to killall minedefang.  I did this and started MD.  Didn't
work. Then I remember that the rc script didn't work at all for me so I
scrolled back through my history, found the line I used to start MD, and
started it.  Everything has worked fine ever since.

My first question is can multuple instances of MD listen to
/var/spool/MIMEDefang/mimedefang.sock at the same time and cause message
duplication?  Actualy...  I just tested this and sure enough it did cause
message duplication.  So I think I've answered my own question there.
Well perhaps this message in the archives will help someone else.

My second question has to do with the rc script and why it doesn't work
for me.  It appears to start everything just fine.  However mail isn't
accepted.

Oct 22 13:35:04 aspen mimedefang[7402]: WARNING: You are running
mimedefang as root.  Future versions of MIMEDefang may refuse to run as
root.
Oct 22 13:35:04 aspen mimedefang[7402]: IP validation header is
X-MIMEDefang-Relay-46e53aa7a94135912219baba357418a9ff46684a
Oct 22 13:36:25 aspen mimedefang-multiplexor: started; minSlaves=2,
maxSlaves=10, maxRequests=100, maxIdleTime=300, busyTimeout=300,
clientTimeout=10
Oct 22 13:36:25 aspen mimedefang-multiplexor: Starting slave 0 (pid 7441)
(1 running): Bringing slaves up to minSlaves
Oct 22 13:36:25 aspen mimedefang-multiplexor: Slave 0 stderr: Use of
uninitialized value in split at /usr/lib/perl5/5.6.1/Cwd.pm line 103. 
Oct 22 13:36:28 aspen mimedefang-multiplexor: Starting slave 1 (pid 7455)
(2 running): Bringing slaves up to minSlaves
Oct 22 13:36:28 aspen mimedefang-multiplexor: Slave 1 stderr: Use of
uninitialized value in split at /usr/lib/perl5/5.6.1/Cwd.pm line 103. 
Oct 22 13:36:55 aspen sendmail[7457]: NOQUEUE: connect from
neo.pittstate.edu [198.248.208.13]
Oct 22 13:36:55 aspen sendmail[7457]: g9MIatWd007457: Milter (mimedefang):
to error state
Oct 22 13:36:55 aspen sendmail[7457]: g9MIatWd007457: Milter:
initialization failed, temp failing commands
Oct 22 13:36:55 aspen sendmail[7457]: g9MIatWd007457: SMTP MAIL command
(<macdaddy at neo.pittstate.edu> SIZE=271) from neo.pittstate.edu
[198.248.208.13] tempfailed (due to previous checks)


I really don't know what it's referring to.  


smmsp     7439  0.0  0.3  1552  652 ?        S    13:36   0:00
/usr/local/bin/mimedefang-multiplexor -p
/var/mail/MIMEDefang/mimedefang-multiplexor.pid -m 2 -x 10 -U smmsp -b 300
-l -s /var/mail/MIMEDef
smmsp     7441  2.0  6.4 13684 12272 ?       S    13:36   0:02
/usr/bin/perl -w /usr/local/bin/mimedefang.pl -server
smmsp     7452  0.0  0.3  9836  668 ?        S    13:36   0:00
/usr/local/bin/mimedefang -P /var/mail/MIMEDefang/mimedefang.pid -U smmsp
-m /var/mail/MIMEDefang/mimedefang-multiplexor.sock -p /var/mail/
smmsp     7453  0.0  0.3  9836  668 ?        S    13:36   0:00
/usr/local/bin/mimedefang -P /var/mail/MIMEDefang/mimedefang.pid -U smmsp
-m /var/mail/MIMEDefang/mimedefang-multiplexor.sock -p /var/mail/
smmsp     7454  0.0  0.3  9836  668 ?        S    13:36   0:00
/usr/local/bin/mimedefang -P /var/mail/MIMEDefang/mimedefang.pid -U smmsp
-m /var/mail/MIMEDefang/mimedefang-multiplexor.sock -p /var/mail/
smmsp     7455  2.1  6.4 13684 12272 ?       S    13:36   0:02
/usr/bin/perl -w /usr/local/bin/mimedefang.pl -server


I have MULTIPLEXOR set to yes, MX_USER set to smmsp, amd MX_LOG set to
yes.  I don't believe I changed anything else.  Wait, let me diff it.  
The rc file I have looks like a combination of mimedefang-init and
mimedefang-sysconfig.  I'm not sure where I got it.  Does anyone have any
ideas for me?  Note, I am running MD as root until I figure out what user
MD, SA, Amavis, and my AV util should run as.  I suppose that could be the
problem.  thoughts?

Thanks
 Justin




More information about the MIMEDefang mailing list