Re: [AMaViS-user] maRBL on Debian

This is a discussion on Re: [AMaViS-user] maRBL on Debian within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Henrik The patch did not fully work for me. Hunk 2 failed with: patching file policyd-weight-devel Hunk #1 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2007
grant maxwell
 
Posts: n/a
Default Re: [AMaViS-user] maRBL on Debian

Henrik The patch did not fully work for me. Hunk 2 failed with:

patching file policyd-weight-devel
Hunk #1 succeeded at 322 (offset -16 lines).
Hunk #2 FAILED at 1379.
Hunk #3 succeeded at 2173 (offset -101 lines).
Hunk #4 succeeded at 2342 (offset -26 lines).
Hunk #5 succeeded at 2876 (offset -139 lines).
1 out of 5 hunks FAILED -- saving rejects to file
policyd-weight-devel.orig.rej


The rej file looks like:

***************
*** 1351,1357 ****
# specifying a response message with "rc:foo"
if(index($action, 'rc:') != -1)
{
- $action =~ s/^[ \t]*rc:[ \t]*(.*?)[,; .]+.*/$1/i;
}

mylog(info=>"decided action=$action");
--- 1379,1385 ----
# specifying a response message with "rc:foo"
if(index($action, 'rc:') != -1)
{
+ $action =~ s/^.*rc:(\w+).*$/$1/i;
}

mylog(info=>"decided action=$action");




I looked at the code to try to workout where it belongs but could not. Any
ideas ? Are you maybe using a different version to me ? My version is:

# AUTHOR: r.felber@ek-muc.de
# DATE: Wed Oct 27 13:17:40 CEST 2006
# NAME: policyd-weight
# VERSION: 0.1.14 beta
# URL: http://www.policyd-weight.org/

I believe this is the latest version.


Any ideas ?

Regards
Grant




> -----Original Message-----
> From: amavis-user-bounces@lists.sourceforge.net [mailto:amavis-user-
> bounces@lists.sourceforge.net] On Behalf Of Henrik Krohns
> Sent: Thursday, 4 January 2007 11:56 AM
> To: amavis-user@lists.sourceforge.net
> Subject: Re: [AMaViS-user] maRBL on Debian
>
> On Thu, Jan 04, 2007 at 01:43:27AM +0100, mouss wrote:
> > grant maxwell wrote:
> > >> It would be very simple to add "greylist command" support to policyd-
> > >> weight.
> > >> Used when you match only one RBL or get over some specific score. And

> p0f
> > >> support contributing to the score? Heck, I'll make some patches

> myself, it
> > >> would be much more useful than maRBL.
> > >>
> > >>
> > >>
> > > Henrik I agree. I would love to see the outcome of those patches :)
> > >

> >
> > just tell policyd-weight to return "greylist" and configure this a
> > restriction class in postfix.

>
> What's the use for that? It would either greylist everything or just
> greylist instead of directly rejecting.
>
> I made the patch:
>
> http://hege.li/policyd-weight/greylist-p0f.diff
>
> Cheers,
> Henrik
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?p...rge&CID=DEVDEV
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...fo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0