if $h_X-Virus: matches "^(.*) found a virus: (.*)\\$" then
	logwrite "$tod_log $message_id $1 found a virus $2"
	seen save /usr/local/viruses/$1/$2/${message_id} 640

		mail    from "AntiVirus Daemon <postmaster@${qualify_domain}>"
			to ${extract{1}{|}{$acl_m7}}
			cc "AntiVirus Admin <postmaster@${qualify_domain}>"

			reply_to "AntiVirus Admin <postmaster@${qualify_domain}>"
			subject "Warning: virus has been found in message with subject \"$h_Subject:\""
			extra_headers "Content-Transfer-Encoding: 8bit\nContent-Type: multipart/report; report-type=delivery-status;\n\tboundary=\"${extract{7}{|}{$acl_m7}}\"\nMIME-Version: 1.0MIME-Version: 1.0\nAuto-Submitted: auto-generated (antivirus-notification)"
			expand file /usr/local/etc/exim/antivir_notification.txt

	finish
endif
