On Fri, 06 Jul 2001, you wrote:
> You know, i've been trying to do that too on my box \8) But for the life
> of me, i couldn't get it to work! I know this is a done issue, but could
> you share your header_checks entry? \8)
>
> Just wanna know what i did wrong..
hi all,
we're using this rpm version of postfix:
postfix-20010228_pl01release-1rh6
we got it from:
http://www.pobox.com/~sjmudd/postfix
(which seems to be down at the moment)
we have the ff entries in /etc/postfix/main.cf
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
and the ff lines in /etc/postfix/header_checks
/@sexyfun/ REJECT
[EMAIL PROTECTED]/ REJECT
the 'sexyfun' line is for that nasty hahaha worm.
you guys may also be interested in our /etc/postfix/body_checks
/^Content.*\.(hta|com|pif|vbs|vbe|js|jse|exe|bat|cmd|vxd|scr|shm)/ REJECT
which rejects unwanted attachments.
hth,
-eric
--
.--. Enrique D. Rosel II office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc.
`--\\ A Philippine Open Source Solutions Co. http://www.q-linux.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]