<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jase@SENSIS.COM href="mailto:jase@SENSIS.COM">Desai, Jason</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=MAILSCANNER@JISCMAIL.AC.UK 
  href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 22, 2002 5:10 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: File unlinking problem</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=650020717-22022002>Was one of the 
  options that you changed the Run As User / Group?&nbsp; Perhaps the 
  file&nbsp;in the queue was owned by another user?&nbsp; </SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=650020717-22022002>Do you still have 
  the file, so you can check it?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=650020717-22022002>the file is owned 
  by exim and in the group exim which are the same as my Run As User / 
  Group</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002>Jase</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002>Regards</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=650020717-22022002>Ray 
  Gardener</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=650020717-22022002></SPAN></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Ray Gardener 
    [mailto:r.a.gardener@SHU.AC.UK]<BR><B>Sent:</B> Friday, February 22, 2002 
    11:39 AM<BR><B>To:</B> <A 
    href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A><BR><B>Subject:</B> 
    [MAILSCANNER] File unlinking problem<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>I had a unusual problem today - unfortunately I 
    am only able to give a description rather that a full log on the instance 
    because the symptoms aren't logged in syslog. (I am logging mail.debug level 
    &nbsp;BTW)</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Briefly Mailscanner died and wouldn't restart 
    even after several attempts to run check_mailscanner. I will try to 
    paraphase the message it reported but I didn't record it as I was rather 
    flustered at the time. </FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>It couldn't resolve an unknown 
    dependency&nbsp;concerning -t option at line 420 &nbsp;of 
    sendmail.pl;&nbsp;&nbsp;</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>that line reads</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>unlink "$OutQueue/$file";</FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>and concerns "Removing Duplicates from the 
    outgoing queue:\n";</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>after inspecting I decided to look at the 
    outgoing queue; there was a file present which co-incided with the time 
    mailscanner stopped. I moved this to another place and restarted mailscanner 
    with check_mailscanner and&nbsp;mailscanner started to work 
    again.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>1) I think that the time it stop coincided 
    with&nbsp;me killing mailscanner with kill -9 in order to then restart it 
    with different options. Clearly the queue was confused by a duplicate 
    file&nbsp;existing in the outgoing and incoming queues but also clearly 
    the&nbsp;code tries to cater for this situation and in my case failed. 
    Anyone help me with this might have been?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>2) My other point relates to that&nbsp;fact 
    that this error doesn't seem seem to be logged in syslog even though 
    a&nbsp;diagnostic appeared on my console.&nbsp;Should I expect this to be 
    logged somewhere?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>3) is killing with kill -9 
    advisable?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>4) Finally my queues once restart processed 3.5 
    thousand messages in a 1.30 hours. I suspect that this could have been 
    faster if I adjusted the number of messages that could be process in a batch 
    from 100 to some number. Is there a sane upper limit for this?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Technical details</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>system: Sunblade 1000</FONT></DIV>
    <DIV><FONT face=Arial size=2>OS: Solaris 8</FONT></DIV>
    <DIV><FONT face=Arial size=2>MTA: Exim 3.35</FONT></DIV>
    <DIV><FONT face=Arial size=2>Version of mailscanner: 3.11-1</FONT></DIV>
    <DIV><FONT face=Arial size=2>deliver in background set to yes </FONT></DIV>
    <DIV><FONT face=Arial size=2>delivery type is queue</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Regards</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Ray Gardener</FONT></DIV>
    <DIV><FONT face=Arial size=2>Sheffield hallam University</FONT></DIV>
    <DIV><FONT face=Arial size=2>CIS</FONT></DIV>
    <DIV><FONT face=Arial size=2>0114 224 4926</FONT></DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>