enable spf check on zimbra 8.8

Ask questions about your setup or get help installing ZCS server (ZD section below).
gullio
Posts: 13
Joined: Sat Sep 13, 2014 2:01 am

enable spf check on zimbra 8.8

Postby gullio » Wed Jan 15, 2020 11:52 pm

hello guys,

i want to enable incoming spf check on zimbra opensource 8.8.15, i have followed the wiki and enabled sfp check with those commands:

Code: Select all

zmlocalconfig -e cbpolicyd_module_checkspf=1

and on sqlite3

i have enabled:

Code: Select all

sqlite> select * from checkspf;
1|6|SPF Policy|1|1|1|Zimbra CheckSPF Policy|0
sqlite>


with this command:

Code: Select all

BEGIN TRANSACTION;
INSERT INTO "checkspf" (PolicyID,Name,UseSPF,RejectFailedSPF,AddSPFHeader,Comment,Disabled) VALUES (6,"SPF Policy",1,1,1,"Zimbra CheckSPF Policy",0);
COMMIT;


but when i try to check if spf check is working correct, i cannot find any log and if i sent a mail without spf it will not blocked...... what i need to check or insert in sqlite3 to enable this check?

thanks a lot for your help
BR


User avatar
king0770
Zimbra Employee
Zimbra Employee
Posts: 236
Joined: Fri Sep 12, 2014 10:44 pm
Contact:

Re: enable spf check on zimbra 8.8

Postby king0770 » Thu Jan 16, 2020 12:40 am

Try setting zimbraCBPolicydCheckSPFEnabled to TRUE

zmprov mcf zimbraCBPolicydCheckSPFEnabled TRUE

OR

zmprov ms mta.example.com zimbraCBPolicydCheckSPFEnabled TRUE

zmconfigdctl restart

zmcbpolicydctl restart
--
Rick King
Zimbra Support Team
gullio
Posts: 13
Joined: Sat Sep 13, 2014 2:01 am

Re: enable spf check on zimbra 8.8

Postby gullio » Fri Jan 17, 2020 10:12 am

thanks for reply,

but when i enable it the check will work but also on the authorized domain, infact in the webmail i cannot send any mail to anyone because it fail spf check.

any help about?

BR
imanudin11
Outstanding Member
Outstanding Member
Posts: 293
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

Re: enable spf check on zimbra 8.8

Postby imanudin11 » Tue Jan 21, 2020 2:50 pm

gullio wrote:thanks for reply,

but when i enable it the check will work but also on the authorized domain, infact in the webmail i cannot send any mail to anyone because it fail spf check.

any help about?

BR

Hello,
I am wrote some information about the SPF check on Zimbra using PolicyD. Maybe you interest with that :) : https://imanudin.net/2017/03/23/zimbra- ... ing-email/

In my environment, I am disable SPF check for a local domain. And using Sender Must Login to check local domain if come from outside : https://imanudin.net/2014/09/07/how-to- ... imbra-8-5/

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests