Hello All,
 
I'm using web-cyradm on my system along with amavisd-new, ClamAV and SpamAssassin.
 
Every time virus detected by ClamAv I got report with IP of virus sender, cause I'm the postmaster.
 
I would like to block IP of the virus sender for several ours.
I'm able to do it now manually with check_client_access directive in main.cf, look below:
-------------------------------
in main.cf
smtpd_recipient_restrictions =
:
check_client_access hash:/etc/postfix/client_checks
 
client_checks looks like:
212.179.199.228 554 Stop sending viruses!
:
------------------------------
 
But I'm seeking automatic solution, to make IP addition to client_checks file and running postmap hash:client_checks afterwards.
 
If anyone have some script/solution for that matter I'd be glad to get one :)
 
 
 
Best Regards,
 
Leon Kolchinsky
 
P.S.:
I suppose this question is more apropriate for ClamAv list, but may be you guys also can help.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to