Re: Usage example for filter-dnsbl

2020-08-17 Thread Leo Unglaub

Hey,
thanks for the response. It works very well now.

Thank you so much!
Greetings,
Leo

On 2020-08-17 12:10, Martijn van Duren wrote:

I run filter-dnsbl as follow:

...
filter dnsbl proc-exec "filter-dnsbl -mv zen.spamhaus.org dnsbl.dronebl.org 
bl.spamcop.net"
...
listen on egress tls pki keys filter dnsbl
...

To be clear: filters in proc-exec chooes their own "phase, so there's no
need for you to worry about that. The only thing you need to know is
which blacklists you want to use and on which listen socket they should
be executed on (and optionally where in a filter-chain if you have
multiple).




Re: Usage example for filter-dnsbl

2020-08-17 Thread Martijn van Duren
I run filter-dnsbl as follow:

...
filter dnsbl proc-exec "filter-dnsbl -mv zen.spamhaus.org dnsbl.dronebl.org 
bl.spamcop.net"
...
listen on egress tls pki keys filter dnsbl
...

To be clear: filters in proc-exec chooes their own "phase, so there's no
need for you to worry about that. The only thing you need to know is
which blacklists you want to use and on which listen socket they should
be executed on (and optionally where in a filter-chain if you have
multiple).

martijn@

On Mon, 2020-08-17 at 11:23 +0200, Leo Unglaub wrote:
> Hey,
> i installed the filter "filter-dnsbl" from here 
> (http://imperialat.at/dev/filter-dnsbl/) and now i want to add it to my 
> config. However, i have to admit i have no idea how to do that? In what 
> "phase" should i put this filter? I looked around but i found a couple 
> of outdated blog posts on filters, but nothing current. I also read thru 
> here 
> (https://github.com/openbsd/src/blob/master/usr.sbin/smtpd/smtpd-filters.7), 
> but i found nothing.
> 
> If someone of you has a working example on how to use that filter, could 
> you please be so kind and send it to me?
> 
> Thanks so much and greetings
> Leo
> 




Re: Usage example for filter-dnsbl

2020-08-17 Thread Pete


Hey,

I use the dnsbl filter from umaxx.net so i don't know that specific filter,
but something along those lines should do:


filter "dnsbl" proc-exec "filter-dnsbl" my.dnsblprovider.com
listen on egress filter dnsbl



> Hey,
> i installed the filter "filter-dnsbl" from here
> (http://imperialat.at/dev/filter-dnsbl/) and now i want to add it to my
> config. However, i have to admit i have no idea how to do that? In what
> "phase" should i put this filter? I looked around but i found a couple
> of outdated blog posts on filters, but nothing current. I also read thru
> here
> (https://github.com/openbsd/src/blob/master/usr.sbin/smtpd/smtpd-filters.7),
> but i found nothing.

> If someone of you has a working example on how to use that filter, could
> you please be so kind and send it to me?

> Thanks so much and greetings
> Leo





Usage example for filter-dnsbl

2020-08-17 Thread Leo Unglaub

Hey,
i installed the filter "filter-dnsbl" from here 
(http://imperialat.at/dev/filter-dnsbl/) and now i want to add it to my 
config. However, i have to admit i have no idea how to do that? In what 
"phase" should i put this filter? I looked around but i found a couple 
of outdated blog posts on filters, but nothing current. I also read thru 
here 
(https://github.com/openbsd/src/blob/master/usr.sbin/smtpd/smtpd-filters.7), 
but i found nothing.


If someone of you has a working example on how to use that filter, could 
you please be so kind and send it to me?


Thanks so much and greetings
Leo