Chanveasna Tep
asked on
Integrating SPF, Razor & Pyzor to Zimbra SpamAssassin In Ubuntu 16.04
Dear All Expert,
I have install and configure Zimbra Mail Server already. Now I want to improve security on my Zimbra mail server. I want to make sure my Mail server was protected with spam, so I decide to integrate SPF, Razor and Pyzor but I meet an error after I installed those. After I installed SPF, Razor and Pyzor, the service spamAssassin in zimbra cannot start. It seems the instruction I followed was wrong.
So, Can any one tell me how to integrating SPF, Razor & Pyzor to Zimbra SpamAssassin In Ubuntu 16.04?
I really need your help very urgent.
Regards and Thanks,
Chanveasna Tep.
I have install and configure Zimbra Mail Server already. Now I want to improve security on my Zimbra mail server. I want to make sure my Mail server was protected with spam, so I decide to integrate SPF, Razor and Pyzor but I meet an error after I installed those. After I installed SPF, Razor and Pyzor, the service spamAssassin in zimbra cannot start. It seems the instruction I followed was wrong.
So, Can any one tell me how to integrating SPF, Razor & Pyzor to Zimbra SpamAssassin In Ubuntu 16.04?
I really need your help very urgent.
Regards and Thanks,
Chanveasna Tep.
What is the error you are getting?
Also, which version of Zimbra do you have?
ASKER
Hi Serialband,
my Zimbra version is Zimbra Free Version Edition 8.7.0
I hope you have an instruction to do it well.
my Zimbra version is Zimbra Free Version Edition 8.7.0
I hope you have an instruction to do it well.
ASKER
Here is my Error log below
២ 9 13:32:47.873 [27587] warn: config: can not determine default prefs path
២ 9 13:32:47.873 [27587] warn: config: failed to create default user preference
file /opt/zimbra/.spamassassin/ user_prefs
២ 9 13:32:47.944 [27587] dbg: pyzor: network tests on, attempting Pyzor
២ 9 13:32:47.950 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/S pamCop.pm: lib/Mail/SpamAssassin/Plug in/SpamC
op.pm: Permission denied at (eval 35) line 1.
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/A utoLearnTh reshold.pm : lib/Mail/SpamAssassin/P
lugin/AutoLearnThreshold.p m: Permission denied at (eval 36) line 1.
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/W hiteListSu bject.pm: lib/Mail/SpamAssassin/Plu
gin/WhiteListSubject.pm: Permission denied at (eval 37) line 1.
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/M IMEHeader. pm: lib/Mail/SpamAssassin/Plug in/MI
MEHeader.pm: Permission denied at (eval 38) line 1.
២ 9 13:32:47.955 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/R eplaceTags .pm: lib/Mail/SpamAssassin/Plug in/R
eplaceTags.pm: Permission denied at (eval 39) line 1.
២ 9 13:32:47.955 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/D KIM.pm: lib/Mail/SpamAssassin/Plug in/DKIM.pm :
Permission denied at (eval 40) line 1.
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/R ule2XSBody .pm: lib/Mail/SpamAssassin/Plug in/Rule2XS Body.pm: Permission denied at (eval 54) line 1.
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/I mageInfo.p m: lib/Mail/SpamAssassin/Plug in/ImageIn fo.pm: Permission denied at (eval 55) line 1.
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/F reeMail.pm : lib/Mail/SpamAssassin/Plug in/FreeMai l.pm: Permission denied at (eval 56) line 1.
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/A skDNS.pm: lib/Mail/SpamAssassin/Plug in/AskDNS. pm: Permission denied at (eval 57) line 1.
២ 9 13:32:48.256 [27587] info: config: failed to parse, now a plugin, skipping, in "/opt/zimbra/data/spamassa ssin/local rules/loca l.cf": ok_languages en es
២ 9 13:32:48.257 [27587] warn: netset: cannot include 127.0.0.0/8 as it has already been included
២ 9 13:32:48.257 [27587] warn: netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included
Mail::SpamAssassin::Locker ::Flock error: Can't locate Mail/SpamAssassin/Locker/F lock.pm: lib/Mail/SpamAssassin/Lock er/Flock.p m: Permission denied at (eval 1026) line 2.
BEGIN failed--compilation aborted at (eval 1026) line 2. at /opt/zimbra/common/bin/spa massassin line 410.
២ 9 13:32:47.873 [27587] warn: config: can not determine default prefs path
២ 9 13:32:47.873 [27587] warn: config: failed to create default user preference
file /opt/zimbra/.spamassassin/
២ 9 13:32:47.944 [27587] dbg: pyzor: network tests on, attempting Pyzor
២ 9 13:32:47.950 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/S
op.pm: Permission denied at (eval 35) line 1.
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/A
lugin/AutoLearnThreshold.p
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/W
gin/WhiteListSubject.pm: Permission denied at (eval 37) line 1.
២ 9 13:32:47.953 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/M
MEHeader.pm: Permission denied at (eval 38) line 1.
២ 9 13:32:47.955 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/R
eplaceTags.pm: Permission denied at (eval 39) line 1.
២ 9 13:32:47.955 [27587] warn: plugin: failed to parse plugin (from @INC): Can'
t locate Mail/SpamAssassin/Plugin/D
Permission denied at (eval 40) line 1.
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/R
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/I
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/F
២ 9 13:32:47.957 [27587] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/A
២ 9 13:32:48.256 [27587] info: config: failed to parse, now a plugin, skipping, in "/opt/zimbra/data/spamassa
២ 9 13:32:48.257 [27587] warn: netset: cannot include 127.0.0.0/8 as it has already been included
២ 9 13:32:48.257 [27587] warn: netset: cannot include 0:0:0:0:0:0:0:1/128 as it has already been included
Mail::SpamAssassin::Locker
BEGIN failed--compilation aborted at (eval 1026) line 2. at /opt/zimbra/common/bin/spa
The error logs show that you can't access the files because of permission errors. Did you create an account named zimbra to run zimbra? Are you the files set to be owned by the zimbra account?
ASKER
Of course, I have account name zimbra. What file that you mean?
I mean the files listed in the spamassassin folders. You have several errors with Permission denied. This tells you that Zimbra is not able to access your spamassassin files.
You also have errors locating files, such as Can't locate Mail/SpamAssassin/Locker/F lock.pm
You also have errors locating files, such as Can't locate Mail/SpamAssassin/Locker/F
ASKER
Hi serialband,
I cannot find theis location file Can't locate Mail/SpamAssassin/Locker/F lock.pm
I cannot find theis location file Can't locate Mail/SpamAssassin/Locker/F
This means that it's not there. Have you installed SpamAssassin or Amavis? I believe that the very newest Zimbra separated it out. You have to install one of these separately and copy it into the correct place or change the configuration to point to the correct place.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.