dear all,
di README : BACKSCATTER_README
/etc/postfix/main.cf:
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
/etc/postfix/header_checks:
/^(From|Return-Path):.*[[:<:]]([EMAIL PROTECTED])[[:>:]]/
reject forged sender address in $1: message header: $2
/etc/postfix/body_checks:
/^[> ]*(From|Return-Path):.*[[:<:]]([EMAIL PROTECTED])[[:>:]]/
reject forged sender address in $1: message header: $2
Notes:
* The example is simplified for educational purposes. In reality, my
patterns
list multiple email addresses as
"([EMAIL PROTECTED]|[EMAIL PROTECTED])".
* The [[:<:]] matches the beginning of a word, and the [[:>:]] matches the
end.
* The "\." matches "." literally. Without the "\", the "." would match any
character.
saya mau coba apply body_check, tapi masih gak ngarti dengan regexp.
saya pengennya cek body yang mengandung kalimat tertentu...dan postfix block
(reject/drop)
...pls help
./jays
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jays
> Sent: Friday, May 28, 2004 8:52 AM
> To: [EMAIL PROTECTED]
> Subject: [postfix-users] content filter
>
>
> buat para postfixer- jangan bosen ya...
>
> aku pengennya buat rule cek body & subject, kalo mengandung
> kata2 tertentu
> akan di block.
> dicari2 di amavisd.conf kok gak ketemu, malah yg ada block dari local
> recipient....
> pengennya aku mau block dari external sender.
>
> sampai sekarang masih ada beberapa spam yg masih lolos.....
>
> pls help
>
> ./jays
>