On Tuesday 08 February 2022, Marc wrote:

>  I have a bit of experience with mailfromd and if I reject a message
>  there the MTA processes it correctly but different from clamav-milter. 

b.t.w. mailfromd can replace clamav-milter:

prog eom
do
  if clamav(current_message(),clamd_port)
      reject 554 5.7.0 "virus %clamav_virus_name detected by ClamAV - 
http://www.clamav.net";
  fi
done

-- 
Regards, Sergey

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to