Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

testing rawfrom patch [was: Re: [milter-greylist] block SRS senders]

testing rawfrom patch [was: Re: [milter-greylist] block SRS senders]

2016-09-09 by Marcus Schopen

Hi Emmanuel,

On 2016-09-05 16:54, Emmanuel Dreyfus wrote:
> On Mon, Sep 05, 2016 at 02:36:41PM +0200, Marcus Schopen
> lists-yahoogroups@... [milter-greylist] wrote:
>> > I have some code that builds, but no time to test. Any volunteers?
>> HERE! :)
> 
> https://ftp.espci.fr/shadow/manu/rawfrom.patch


I built a new package with your above rawfrom patch [1]. Build is fine, 
but I get an error

    unexpected acl clause type 14

when starting using this config example using rawfrom on a list:

---------------
list "FROM-TEST" rawfrom { \
         /.*\=.*\=mailer-service\.de\=.*@udag\.de/ \
}

list "RCPT-TEST" rcpt { \
         /to@test\.de/ \
}
racl blacklist list "RCPT-TEST" list "FROM-TEST" msg "Bad reputation -  
FROM:'%f' RCPT:'%r'" flushaddr
---------------

Syntax error with this example:

---------------
racl blacklist rawfrom /test@.../ msg "Rawfrom test"
---------------

Ciao
Marcus

[1] https://binux.de/debian/milter-greylist/precise/

Re: testing rawfrom patch [was: Re: [milter-greylist] block SRS senders]

2016-09-14 by manu@...

> > https://ftp.espci.fr/shadow/manu/rawfrom.patch
> 
> 
> I built a new package with your above rawfrom patch [1]. Build is fine,
> but I get an error
> 
>     unexpected acl clause type 14

Please try:
https://ftp.espci.fr/shadow/manu/rawfrom2.patch

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: testing rawfrom patch [was: Re: [milter-greylist] block SRS senders]

2016-09-14 by Marcus Schopen

Hi Emmanuel,

On 2016-09-14 06:01, manu@... [milter-greylist] wrote:
[...]
> Please try:
> https://ftp.espci.fr/shadow/manu/rawfrom2.patch


Thanks :) I built a new package:

This "list" test with rawfrom is fine now:

-------
list "FROM-TEST" rawfrom { \
/.*\=.*\=mailer-service\.de\=.*@foobar\.de/ \
}

list "RCPT-TEST" rcpt { \
/test@test\.de/ \
}

racl blacklist list "RCPT-TEST" list "FROM-TEST" msg "Bad reputation - 
FROM:'%f' RCPT:'%r'" flushaddr
-------

Here is still a syntax error:

   racl blacklist rawfrom /test@.../ msg "Rawfrom test"

whereas

   racl blacklist from /test@.../ msg "Rawfrom test"

is fine.

Ciao
Marcus

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.