Correct syntax to disable lfd notifications for CalendarServer Plugin in csf.pignore

SimpleTechGuy

Well-Known Member
Mar 22, 2021
64
21
8
United States
cPanel Access Level
Root Administrator
Hi all,

Recently installed CalendarServer Plugin which is working fine but resulted in multiple excessive resource usage emails from lfd. I've read through the existing threads discussing this topic and they all say the solution is to whitelist CalendarServer in csf.pignore, however none of the solutions mention a full syntax that works for me.

Currently I am receiving 5 emails every hour or so and would like to disable these emails but need the correct syntax for csf.pignore.

Here are the executable and command lines I need to whitelist:

Code:
Executable:   /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Combined]
Code:
Executable:   /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer Directory Proxy Service
Code:
Executable:   /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Slave #0]
Code:
Executable:   /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Slave #1]
Code:
Executable:   /usr/bin/memcached
Command Line: memcached -U 0 -s ./data/Logs/state/memcache.sock
I'm thinking the correct line would use pcmd but not sure excaly how this works and I'm struggling to understand the logic from the documentation. Seems the following should work but I don't want to make any mistakes here and hoping someone from the community could shed some light on this for me. I'm thinking something like this should work:

Code:
pcmd:/opt/cpanel-css/.develop/virtualenv/bin/phython.* /CalendarServer*.*.*+**************************** [Combined]
I asked another user who claimed to have found the solution here but he hasn't responded yet and these emails are really driving me crazy so I apologize up front for the second ask but figured a new thread might attract more people who are active in the forum.

Thank you all for your time and support.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! Since this is a newer service, it might to good to ask ConfigServer directly to see what testing they've done with that and how that should be implemented, as CSF isn't something we create or manage on our end. Or it's possible another user will see this and share what they have configured successfully.
 
  • Like
Reactions: SimpleTechGuy

cPAdminsMichael

Well-Known Member
Dec 19, 2016
192
74
153
Denmark
cPanel Access Level
Root Administrator
Hi @SimpleTechGuy

From memory, you'd need something like this:

Code:
cmd:memcached
and
Code:
pcmd:CalendarServer.*
Let me know if it works :)
 
  • Like
Reactions: SimpleTechGuy
Thread starter Similar threads Forum Replies Date
U Miscellaneous 4
H Miscellaneous 1