postfix filename reject
This should be a trivial matter...
In main.cf
body_checks = regexp:/etc/postfix/maps/anti_virus
In /etc/postfix/maps/anti_virus
/(filename|name)="(Liste|reg_text|)\.zip"/ REJECT Your attachment has virus-like (Worm.Sober.U) name. Please change it and resend file.
Then postmap /etc/postfix/maps/anti_virus
Then postfix reload
Nothing happens in logs, messages with attachments like reg_text.zip do NOT get rejected. What gives?
--
Highest Regards,
Rodney Richison
RCR Computing
http://www.rcrnet.net
118 N. Broadway
Cleveland, OK 74020
918-358-1111
Reply to: