Email Policy Control Daemon or Postfix Issue

Hello all,

I would be really happy if you can help with this error. I have checked the forum however couldn’t find the exact solution I need. I tried to send an email via Rainloop but it gave “Can’t send message error.”

Here is the output of “journalctl -f | grep postfix” when I enable Email Policy Server:

Sep 23 18:12:26 pwp systemd[1]: [/etc/systemd/system/cpecs.service:8] Failed to parse service restart specifier, ignoring: /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py restart
Sep 23 18:12:27 pwp policyCTRL.py[2078]: File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 58, in
Sep 23 18:12:27 pwp policyCTRL.py[2078]: File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 50, in main
Sep 23 18:12:27 pwp policyCTRL.py[2078]: File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 28, in start
Sep 23 18:12:29 pwp postfix[2082]: Postfix is running with backwards-compatible default settings
Sep 23 18:12:29 pwp postfix[2082]: See Postfix Backwards-Compatibility Safety Net for details
Sep 23 18:12:29 pwp postfix[2082]: To disable backwards compatibility use “postconf compatibility_level=2” and “postfix reload”
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2082]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix/postfix-script[2088]: stopping the Postfix mail system
Sep 23 18:12:29 pwp postfix/master[2004]: terminating on signal 15
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp aliasesdb[2093]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: Postfix is running with backwards-compatible default settings
Sep 23 18:12:29 pwp postfix[2098]: See Postfix Backwards-Compatibility Safety Net for details
Sep 23 18:12:29 pwp postfix[2098]: To disable backwards compatibility use “postconf compatibility_level=2” and “postfix reload”
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:29 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
Sep 23 18:12:30 pwp postfix[2098]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
Sep 23 18:12:30 pwp postfix/postfix-script[2164]: starting the Postfix mail system
Sep 23 18:12:30 pwp postfix/master[2166]: daemon started – version 3.4.6, configuration /etc/postfix

##########################

Here is the output of “journalctl -f | grep postfix” when I try to send an email:

Sep 23 18:14:28 pwp kernel: type=1400 audit(1569251668.813:33): avc: denied { read } for pid=2192 comm=“smtpd” name=“dovecot.pem” dev=“vda1” ino=271997 scontext=system_u:system_r:postfi _smtpd_t:s0 tcontext=unconfined_u:object_r:dovecot_cert_t:s0 tclass=file permissive=1
Sep 23 18:14:28 pwp kernel: type=1400 audit(1569251668.822:34): avc: denied { open } for pid=2192 comm=“smtpd” path="/etc/pki/dovecot/certs/dovecot.pem" dev=“vda1” ino=271997 scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=unconfined_u:object_r:dovecot_cert_t:s0 tclass=file permissive=1
Sep 23 18:14:28 pwp kernel: type=1400 audit(1569251668.829:35): avc: denied { getattr } for pid=2192 comm=“smtpd” path="/etc/pki/dovecot/certs/dovecot.pem" dev=“vda1” ino=271997 scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=unconfined_u:object_r:dovecot_cert_t:s0 tclass=file permissive=1
Sep 23 18:14:28 pwp postfix/submission/smtpd[2192]: connect from localhost[::1]
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.296:36): avc: denied { getattr } for pid=2193 comm=“proxymap” path="/etc/my.cnf" dev=“vda1” ino=269929 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=file permissive=1
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.307:37): avc: denied { read } for pid=2193 comm=“proxymap” name=“my.cnf” dev=“vda1” ino=269929 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=file permissive=1
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.310:38): avc: denied { open } for pid=2193 comm=“proxymap” path="/etc/my.cnf" dev=“vda1” ino=269929 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=file permissive=1
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.314:39): avc: denied { read } for pid=2193 comm=“proxymap” name=“my.cnf.d” dev=“vda1” ino=261840 scontext=system_u:system_r:postfi _master_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=dir permissive=1
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.317:40): avc: denied { open } for pid=2193 comm=“proxymap” path="/etc/my.cnf.d" dev=“vda1” ino=261840 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=dir permissive=1
Sep 23 18:14:29 pwp postfix/submission/smtpd[2192]: 5637545600: client=localhost[::1], sasl_method=PLAIN, sasl_username=xx@senderxx.com
Sep 23 18:14:29 pwp postfix/submission/smtpd[2192]: warning: connect to /var/log/policyServerSocket: No such file or directory
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.358:41): avc: denied { getattr } for pid=2199 comm=“cleanup” path="/etc/my.cnf" dev=“vda1” ino=269929 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=file permissive=1
Sep 23 18:14:29 pwp kernel: type=1400 audit(1569251669.366:42): avc: denied { read } for pid=2199 comm=“cleanup” name=“my.cnf” dev=“vda1” ino=269929 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:object_r:mysqld_etc_t:s0 tclass=file permissive=1
Sep 23 18:14:30 pwp postfix/submission/smtpd[2192]: warning: connect to /var/log/policyServerSocket: No such file or directory
Sep 23 18:14:30 pwp postfix/submission/smtpd[2192]: warning: problem talking to server /var/log/policyServerSocket: No such file or directory
Sep 23 18:14:30 pwp postfix/cleanup[2199]: 5637545600: message-id=fca43fe79b1122f744536c1ee12b6a01@algo.club
Sep 23 18:14:30 pwp postfix/cleanup[2199]: 5637545600: milter-reject: END-OF-MESSAGE from localhost[::1]: 4.7.1 Service unavailable - try again later; from=xx@senderxx.com to=xx@recvxx.com proto=ESMTP helo=<[XX.XX.XX.XX]>
Sep 23 18:14:30 pwp postfix/submission/smtpd[2192]: disconnect from localhost[::1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=0/1 commands=6/7

Also output of “systemctl status cpecs”

[root@pwp postfixSenderPolicy]# systemctl status cpecs
● cpecs.service - CyberPanel Email Policy Control Daemon
Loaded: loaded (/etc/systemd/system/cpecs.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-09-23 18:12:27 +03; 9min ago
Process: 2078 ExecStart=/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py start (code=exited, status=1/FAILURE)

Sep 23 18:12:27 pwp policyCTRL.py[2078]: subprocess.Popen(shlex.split(command))
Sep 23 18:12:27 pwp policyCTRL.py[2078]: File “/usr/lib64/python2.7/subprocess.py”, line 711, in init
Sep 23 18:12:27 pwp systemd[1]: cpecs.service: control process exited, code=exited status=1
Sep 23 18:12:27 pwp policyCTRL.py[2078]: errread, errwrite)
Sep 23 18:12:27 pwp policyCTRL.py[2078]: File “/usr/lib64/python2.7/subprocess.py”, line 1327, in _execute_child
Sep 23 18:12:27 pwp policyCTRL.py[2078]: raise child_exception
Sep 23 18:12:27 pwp policyCTRL.py[2078]: OSError: [Errno 13] Permission denied
Sep 23 18:12:27 pwp systemd[1]: Failed to start CyberPanel Email Policy Control Daemon.
Sep 23 18:12:27 pwp systemd[1]: Unit cpecs.service entered failed state.
Sep 23 18:12:27 pwp systemd[1]: cpecs.service failed.

What happens when you run

/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py
What happens when you run ``` /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py ```

[root@pwp postfixSenderPolicy]# /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py
usage: policyCTRL.py [-h] function
policyCTRL.py: error: too few arguments
[root@pwp postfixSenderPolicy]# /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py -h
usage: policyCTRL.py [-h] function

CyberPanel Policy Control Parser!

positional arguments:
function Specific a operation to perform!

optional arguments:
-h, --help show this help message and exit
[root@pwp postfixSenderPolicy]# /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py start
Traceback (most recent call last):
File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 58, in
main()
File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 50, in main
policy.start()
File “/usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py”, line 28, in start
subprocess.Popen(shlex.split(command))
File “/usr/lib64/python2.7/subprocess.py”, line 711, in init
errread, errwrite)
File “/usr/lib64/python2.7/subprocess.py”, line 1327, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
[root@pwp postfixSenderPolicy]#

What happens when you run ``` /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py ```

Any luck? :frowning:

@CyberPanel I would be really happy if you can help on this issue.

-bash: /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py: Permission denied

-bash: /usr/local/CyberCP/postfixSenderPolicy/policyCTRL.py: Permission denied
I got this too.

I would recommend not to use this feature, until further notice. This is beta only.