spamassasin_domain()
In the spamassassin_domain() macro, there is the following block of rules:
can_resolve($1_spamassassin_t)
# set tunable if you have spamassassin do DNS lookups
if (spamassasin_can_network) {
can_network($1_spamassassin_t)
allow $1_spamassassin_t port_type:tcp_socket name_connect;
} This is confusing as the comment says the conditional toggles ability to do DNS lookups, but right outside it has can_resolve(). It seems to me that the can_resolve() should be inside the conditional, instead of what is there. Does this seem reasonable?
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.