I have had a look at the solutions on the qmail site for scanning email for viruses but they do not quite fit what im after. I have also looked at a script posted to this list that looks for attachment types. This is very close to what I want but am trying to write a script to use McAfee instead of just checking the attachments. If I run my script inside the .qmail file how can I pass the incoming email to the virus scanner? Is there any way to do this. The check attachment script obviously does this, but im just a bit too much of a novice to know how. i.e (I think im on the right track with this but could be completely wrong, I know the virus scanner exits with a 13 when it fails) If '/usr/local/uvscan/uvscan ?????' = 13 ; Then echo 'bla bla bla' exit 100 fi; Thanks Martin Martin Searancke CommSoft Group Ltd. Level 8, CommSoft House 90 Symonds St Auckland, New Zealand [EMAIL PROTECTED] +64 21 778592
