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
>       check_recipient_access hash:/etc/postfix/per_recipient_rules
>       ...
>
> /etc/postfix/per_recipient_rules:
>      # most example.com recipients are RBL protected, some are not.
>      example.com      reject_rbl_client zen.spamhaus.org, reject_rbl_client 
> rbl.rbldns.ru, ...
>      some...@example.com dunno
>      ...

????? ?????:
> 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 ?

There is no support for main.cf to import arbitrary commands from
other files, as that would be a security hole.

The example requires one line per recipient domain. If you use a
real DBMS, then even that can be avoided.

        Wietse

Reply via email to