<html>
The raqfaq about installing MailScanner on a RAQ system has a slight
error in it where it describes the differences for a RAQ4. The raqfaq
itself is at<br>
<font color="#0000FF"><u><a href="http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96" eudora="autourl">http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96</a><br><br>
</u></font>Here's what you need to fix:<br>
1. Edit /etc/mail/sendmail.cf<br>
Search for &quot;QueueDirectory&quot; and change the line to<br>
O QueueDirectory=/var/spool/mqueue<br><br>
2. Edit /usr/local/MailScanner/mailscanner.conf<br>
Search for &quot;Outgoing Queue Dir&quot; and change the line to<br>
Outgoing Queue Dir = /var/spool/mqueue<br><br>
3. Move any remaining queue files into the updated queue directory<br>
mv /var/spool/mqueue/q*/* /var/spool/mqueue<br><br>
4. Delete the old queue subdirectories<br>
rmdir /var/spool/mqueue/q*<br><br>
5. Kill sendmail<br>
/etc/rc.d/init.d/mailscanner stop<br>
(this will kill all the sendmail processes if you happen to have more
than 1 running!)<br><br>
6. Kill MailScanner and restart it<br>
/usr/local/MailScanner/bin/check_mailscanner<br>
(Then kill the process whose number it prints)<br>
/etc/rc.d/init.d/mailscanner start<br><br>
7. Check it's all okay:<br>
ps ax | grep mail<br>
should produce output like this:<br>
&nbsp;1680 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 sendmail: accepting
connections<br>
&nbsp;1682 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/sbin/sendmail -q15m<br>
&nbsp;1692 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 perl
/usr/local/MailScanner/bin/mailscanner /usr/loca<br>
<div>--</div>
<div>Julian
Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Teaching Systems Manager</div>
<div>jkf@ecs.soton.ac.uk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Dept. of Electronics &amp; Computer Science</div>
<div>Tel. 023 8059
2817&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; University of
Southampton</div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Southampton SO17 1BJ
</html>