# $Id: milter-regex.conf,v 1.1 2004/05/25 02:46:36 elkner Exp $ # # /etc/mail/milter-regex.conf example - see milter-regex(8) tempfail "Sender IP address not resolving" connect /\[.*\]/ // reject "Malformed HELO (not a domain, no dot)" helo /(\.)|^(myhostname|localhost)$/ein # - use comma as delimiter here, as / occurs within RE - # #reject "HTML mail not accepted" #header /^Content-type$/i ,^text/html,i #body ,^Content-type: text/html,i # Swen worm discard header /^(TO|FROM|SUBJECT)$/e // header /^Content-type$/i /boundary="Boundary_(ID_/i header /^Content-type$/i /boundary="[a-z]*"/ body ,^Content-type: audio/x-wav; name="[a-z]*\.[a-z]*",i # Some nasty spammer reject "Business Corp spam, get lost" body /^Business Corp. for W.& L. AG/i and \ ( body /043.*317.*0285/ or body /0041.43.317.02.85/ )