Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-19 Thread Benny Pedersen
On Tue, June 17, 2008 03:59, Zhang Huangbin wrote: > I will try to replace pypolicyd-spf later :) there is no replace, if you find one please tell me :) using postgrey after pypolicyd-spf here, still no spam dkim could be nice olso, but its not easy to make in postfix without a milter thats t

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-16 Thread Zhang Huangbin
Mark Martinec wrote: > Zhang Huangbin, > > >> I tried to implement SPF feature with some tutorials searched by google, >> but i can't see any SPF log in amavisd log file. :( >> Is there any example config? >> > > I'd second the Benny's suggestion. The Plugin::SPF covers most needs. > In my

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-16 Thread Mark Martinec
Zhang Huangbin, > Benny Pedersen wrote: > > i suggest not using spf that way, set pypolicyd-spf to not add hedder, > > and let spamassing plugin spf not use that header either, but let it do > > its own check with either Mail::SPF or Mail::SPF::Query > > see perldoc Mail::SpamAssassin::Plugin::SPF

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-14 Thread Zhang Huangbin
Benny Pedersen wrote: > On Fri, June 13, 2008 15:36, Zhang Huangbin wrote: > > >>> header SPF_CHECK_FAIL Received-SPF =~ /^fail/i >>> or use proper case in a regexp. >>> >> It works now. Thanks Mark. ^_^ >> > > still one problem, the headers from pypolicyd-spf can be forged > > what

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-14 Thread Benny Pedersen
On Fri, June 13, 2008 15:36, Zhang Huangbin wrote: >> header SPF_CHECK_FAIL Received-SPF =~ /^fail/i >> or use proper case in a regexp. > It works now. Thanks Mark. ^_^ still one problem, the headers from pypolicyd-spf can be forged what if the header was there before you add your own ? i sugg

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-13 Thread Zhang Huangbin
Mark Martinec wrote: > >> And i appended these lines in SpamAssassin(local.cf): >> header SPF_CHECK_FAIL Received-SPF =~ /^fail/ >> describe SPF_CHECK_FAIL SPF reports sender host as NOT permitted >> score SPF_CHECK_FAIL 0.75 >> header SPF_CHECK_PASS Received-SPF =~ /^pass/ >> describe SPF_CHECK_PA

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-13 Thread Zhang Huangbin
Mark Martinec wrote: > Zhang, > > >> I use pypolicyd-spf for SPF. But i don't know whether it was correct. >> pypolicyd-spf writes mail header in every mail, e.g. >> Received-SPF: Pass (sender SPF authorized) >>identity=mailfrom;client-ip=209.85.142.185;helo=ti-out-0910.google.com; >>[

Re: [AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-13 Thread Mark Martinec
Zhang, > I use pypolicyd-spf for SPF. But i don't know whether it was correct. > pypolicyd-spf writes mail header in every mail, e.g. > Received-SPF: Pass (sender SPF authorized) >identity=mailfrom;client-ip=209.85.142.185;helo=ti-out-0910.google.com; >[EMAIL PROTECTED];[EMAIL PROTECTED]

[AMaViS-user] [SPF] Is it correct? Amavisd + SpamAssassin + pypolicyd-spf

2008-06-13 Thread Zhang Huangbin
Hi, all. I use pypolicyd-spf for SPF. But i don't know whether it was correct. pypolicyd-spf writes mail header in every mail, e.g. 8<- Received-SPF: Pass (sender SPF authorized) identity=mailfrom;client-ip=209.85.142.185;helo=ti-out-0910.google.com; [EMAIL PROTECTED];[EMAIL PR