Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-10-26 Thread Wietse Venema
> Ok, we deal with access map file. That's the manual: > > http://www.postfix.org/access.5.html > > And it says about logical lines and continuation lines and avaliable > lookup patterns and actions. > > But I can't clearly get : > > - How multiple actions (checks) works against one pattern

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-10-26 Thread Wietse Venema
> > check_sender_access, > > hash:/etc/postfix/dnsbl_checks > > ... > /etc/postfix/dnsbl_checks: > > > open-talk.ru reject_rbl_client rbl.rbldns.ru, reject_rbl_client That applies 'reject_rbl_client b.barracudacentral.org' to open-talk.ru. And it should warn that

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-10-26 Thread Wietse Venema
> I have following configuration working on postfix 2.6, broken up on > postfix 3.1: > > master.cf: > > > smtpd pass -- n - - smtpd > > ... > > -o { smtpd_recipient_restrictions = > > ... master.cf does not support "-o { name = value }" syntax before

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-05-01 Thread Вадим Бажов
After some testings it works as expected ! Thank you, Wietse ! On 28.04.2016 16:48, Wietse Venema wrote: ? ?: Hello, Wietse. Is there any documentation or configuration snippets regarding rbl and database ? Documentation: man 5 access. Just use mysql:/etc/postfix/file instead of

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread /dev/rob0
On Thu, Apr 28, 2016 at 07:00:40PM +0300, Вадим Бажов wrote: > Ok, got it. > But this way to place all DNSBL services to a separate file needs me to set > a recipient domain that i protect with rbl_reject chekings (i.e. > example.com). > Is there a simpler way without setting a recipient domain ?

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread Wietse Venema
Wietse: > Just use mysql:/etc/postfix/file instead of hash:/etc/postfix/file. > Postfix makes the same queries whether you use hash/btree/lmdb or > mysql/pgsql/ldap. > > /etc/postfix/main.cf: > smtpd_recipient_restrictions = > permit_mynetworks > reject_unauth_destination >

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread Вадим Бажов
Ok, got it. But this way to place all DNSBL services to a separate file needs me to set a recipient domain that i protect with rbl_reject chekings (i.e. example.com). Is there a simpler way without setting a recipient domain ? We list DNSBL services under smtpd_recipient_restrictions section

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread Wietse Venema
? ?: > Hello, Wietse. > Is there any documentation or configuration snippets regarding rbl and > database ? Documentation: man 5 access. Just use mysql:/etc/postfix/file instead of hash:/etc/postfix/file. Postfix makes the same queries whether you use hash/btree/lmdb or

Re: [MASSMAIL]Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread Вадим Бажов
Hello, Wietse. Is there any documentation or configuration snippets regarding rbl and database ? On 28.04.2016 13:28, Wietse Venema wrote: ? ?: Hi, list ! I need to place rbl rules with domains in a separate file and connect it to postfix via access map directive. Let's say

Re: place reject_rbl_client rules in a separate file

2016-04-28 Thread Wietse Venema
? ?: > Hi, list ! > I need to place rbl rules with domains in a separate file and connect it > to postfix via access map directive. > > Let's say something like this: > > > smtpd_recipient_restrictions = > >permit_mynetworks > >reject_unauth_destination > >

place reject_rbl_client rules in a separate file

2016-04-28 Thread Вадим Бажов
Hi, list ! I need to place rbl rules with domains in a separate file and connect it to postfix via access map directive. Let's say something like this: smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination check_recipient_access hash:/etc/postfix/rbl_rules