I've integrated into my main.cf an RBL full control to avoid spam to flood into our system, a whitelist hash table to bypass RBL and a spam lover table to enable all flood for single domains with this syntax (i'll put some more for an overview idea on it)
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
smtpd_relay_restrictions = permit_sasl_authenticated,
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_sender_restrictions = check_sender_access hash:/opt/zimbra/conf/sender_blacklist,
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated,
strict_rfc821_envelopes = yes
smtpd_etrn_restrictions = permit_mynetworks,
There is any way to integrate something on single user control panel to specify who is a trusted sender (whitelist) single name or domain, or blacklist it, by integrating this actual configuration? This is not simple becouse we're speaking about a "Global configuration" and a "per domain / per user" whitelisting/blacklisting app. It could be appreciable to level spam tagging % too, but probably this is another question and maybe require a milter server instead.
PS: whitelist/blacklist under user's preference could be the way... but no, it isn't becouse it regards only attachment emails , not RBLs ...
Any advice to integrate something usefull?
Many thanks, this is an important question to me.