Topic: How to remove or disable SPF and/or DKIM
If iRedMail has been installed completely (with SPF and DKIM), it is possible to disable these post-install.
For DKIM, see the FAQ on this subject.
However, for disabling SPF, I didn't find a topic about this. I think there are two modifications to be done:
First, comment out the SPF plugin in the Spamassassin initialisation file (in /etc/mail/spamassassin/init.pre on RHEL/CentOS):
According to this discussion thread, this should disable SPF (restart amavisd).
If you want to be sure (because the SPF module is still loaded in memory), you can also remove the two perl SPF packages and restart the amavisd daemon:
In RHEL/CentOS this can be done with:
$ rpm -e --nodeps perl-Mail-SPF perl-Mail-SPF-Query
and restarting amavisd.
When you want to enable SPF again, just re-install these two packages, uncomment the Spamassassin plugin and restart amavisd
Are my assumptions correct?
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: CentOS 6.0