HI, I have followed the installation of various RBL's in main.cf documented else ware in this forum, only to realise later that we are breaking ISPC! ISPC uses procmail filter to do spam/av control along with a multitude other functions.
Spamassasin come default with an HUGE arsenal of ready set-up config files witch seem to be not included by ISPC such as can be found in
/home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin/ directory. these include 20_dnsbl_tests.cf, 20_drugs.cf, 20_porn.cf, 25_spf.cf and many many more.
By enabling functions like rbl lists in main.cf rather than in the control of spamassasin breaks the ISPC system in various ways
- It does not get added to the "score".
- It is system wide instead of per-user.
- It therefore bypasses the blacklists and more important the whitelists!
Is there any way to include these in ISPC without editing the forms and mySQL tables to include the fields, and thus also the /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php code to rectify this?
My /etc/postfix/main.cf contains:
invalid_hostname_reject_code = 554
multi_recipient_bounce_reject_code = 554
non_fqdn_reject_code = 554
relay_domains_reject_code = 554
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_sender_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554
The last two rbl's include servers from one of the local ISP's and that ISP is to *%(&$&(^% to fix this or get rid of the offenders, but clients insist in still receiving mail from them as it is one of the local large ISP's. If I now add that server to the whitelists they are ignored as this check is not done in the controlled environment of the procmail environment!
The issue comes when we edit /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php or any other ISPC code is that we need to re-do it after each upgrade and or patch, yet some of these checks like porn, drugs would be nessesary for some servers!