[postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread Ronny Haryanto
On Mon, Sep 26, 2005 at 04:38:43PM +0700, Nyoman wrote: Lalu file /etc/postfix/header_checks isinya sbb : /^To: .*yahoogroups/ REJECT Dengan perintah tsb diatas semua milis yang berasal dari yahoogroups diblok. Pertanyaannya : Dari perintah tsb diatas, gimana caranya membuat pengecualian

Re: [postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread adi
On Mon, Sep 26, 2005 at 07:53:35PM +1000, Ronny Haryanto wrote: Kalo header_checks itu dibaca oleh postfix dari atas ke bawah dan first match wins (begitu ketemu match maka rule2 yg berikutnya tidak diproses lagi), maka anda bisa bikin pengecualiannya di atasnya yg reject itu toh? hmm..

Re: [postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread adi
On Tue, Sep 27, 2005 at 12:55:34AM +0700, adi wrote: misalnya: if !/^List-Id:.*(id-mac|17tahun|90tahun)@yahoogroups\.com/ /yahoogroups.com/ REJECT endif (untested). ups.. untung ada disclaimer :-)) if /^List-Id/ if !/(id-mac|17tahun|90tahun)@yahoogroups\.com/ /./ REJECT endif endif

Re: [postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread Ronny Haryanto
On Tue, Sep 27, 2005 at 12:55:34AM +0700, adi wrote: On Mon, Sep 26, 2005 at 07:53:35PM +1000, Ronny Haryanto wrote: Kalo header_checks itu dibaca oleh postfix dari atas ke bawah dan first match wins (begitu ketemu match maka rule2 yg berikutnya tidak diproses lagi), maka anda bisa bikin

Re: [postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread adi
On Tue, Sep 27, 2005 at 01:36:17AM +0700, adi wrote: if /^List-Id/ if !/(id-mac|17tahun|90tahun)@yahoogroups\.com/ /./ REJECT endif endif whoaa .. ini juga salah :-)) benerin sendiri deh. prinsipnya caranya gitu he..he.. (baru bangun :-) Salam, P.Y. Adi Prasaja

Re: [postfix-users] Re: [tanya-jawab] Mohon bantuannya soal Header_checks

2005-09-26 Thread adi
On Tue, Sep 27, 2005 at 10:38:54AM +1000, Ronny Haryanto wrote: Thanks buat koreksinya. Lupa kasih disclaimer utk ngecek ke dokumentasi, padahal udah ragu2 (makanya saya tulis Kalo header_checks ...). Jadi ketauan udah lama gak ngoprek postfix, hehehe. sama saja .. saya juga dodol sekarang