sscg should be run as mail group otherwise pem file is not accessible by mail group thus by imap process