Find Ensim Version
To find the Parallels (Ensim) Pro appliance version, run the following command as root user.
A output of the command looks like CPVersion-OSVersion. For example, 10.2.0-fc.6.5 means, control panel version 10.2.0 is installed on a Fedora Core 6 server.
Another alternate method is to check the file at /usr/lib/opcenter/VERSION
$ cat /usr/lib/opcenter/VERSION
How to add a cron job for a domain in Ensim
Login to the server as ‘root’ user via SSH
Do a ’sitelookup’ for the domain
$ sitelookup -d domain.com wp_user
This will return the admin user name of the domain in the server, say ‘admin##’
Type
Enter the corresponding cron, save and exit
Restart the crond service.
Unable to get information from zmcontrol
This issue is mainly occurring due to the incorrect permission of /opt/zimbra/redolog and /opt/zimbra/redolog/redo.log.
Do the following steps:
[root@zimbra bin]# ls -l /opt/zimbra/redolog
total 8
drwxr-x— 2 root root 4096 Mar 20 13:17 archive
-rw-r—– 1 root root 1292 Apr 11 19:11 redo.log
The chower ship of /opt/zimbra/redolog/redo.log and /opt/zimbra/redolog must be zimbra.
chown -R zimbra.zimbra /opt/zimbra/redolog/
[root@zimbra bin]# ls -l /opt/zimbra/redolog
total 8
drwxr-x— 2 zimbra zimbra 4096 Mar 20 19:17 archive
-rw-r—– 1 zimbra zimbra 1292 Apr 11 19:59 /opt/zimbra/redolog/redo.log
Now try the “zmcontrol status” and “zmcontrol start”. This will work fine now.
Note: If you are facing difficulty in running “zmcontrol status”, try the exact path “/opt/zimbra/bin/zmcontrol status”.
Flush mail queue in sendmail
To flush the mail queue manually in sendmail servers, use
$ /usr/sbin/sendmail -q -v
Better way
Make a backup of the existing queue directory.
Create the ‘mqueue’ directory with the same permissions and ownership. Then, type in
$ /usr/sbin/sendmail -q -v -OQueueDirectory=/var/spool/mqueue.bak
You can use the same command to flush any sendmail queue as some servers have multiple queue setup like mqueue, mqueue.site, clientmqueue, q1, q2 etc.
Change SMTP source IP address in sendmail
1. Edit sendmail.cf search for ClientPortOptions
2. Change
#O ClientPortOptions=Family=inet, Address=x.x.x.x
to
O ClientPortOptions=Family=inet, Address=
3. Restart sendmail
4. Verify by sending a mail and checking the full header
CLIENT_OPTIONS(`field1=value1,field2=value2,…’) in sendmail.mc file is equivalent to ClientPortOptions in the sendmail.cf file.