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/