<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 "QueueDirectory" and change the line to<br>
O QueueDirectory=/var/spool/mqueue<br><br>
2. Edit /usr/local/MailScanner/mailscanner.conf<br>
Search for "Outgoing Queue Dir" 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>
1680 ?
S 0:00 sendmail: accepting
connections<br>
1682 ?
S 0:00 /usr/sbin/sendmail -q15m<br>
1692 ?
S 0:00 perl
/usr/local/MailScanner/bin/mailscanner /usr/loca<br>
<div>--</div>
<div>Julian
Field
Teaching Systems Manager</div>
<div>jkf@ecs.soton.ac.uk
Dept. of Electronics & Computer Science</div>
<div>Tel. 023 8059
2817 University of
Southampton</div>
Southampton SO17 1BJ
</html>