Prevention of infinite mail loop with Auto Responder
This mostly happens when the mail account using autoreponder gets lot of spam mail, and as many of these spam mails use bogus From addresses, this account also recieves many mailer-daemon responses while replying to these bogus email addresses.
1) Edit /home/virtual/FILESYSTEMTEMPLATE/sendmail/etc/smrsh/responder.sh (This file is hardlinked into all the domains having autoresponder enabled as
/home/virtual/[domainname]/etc/smrsh/responder.sh)
and comment out:
${PYTHONBIN} ${RUNAPP} $@ > /dev/null 2>&1
so it looks like:
# ${PYTHONBIN} ${RUNAPP} $@ > /dev/null 2>&1
Then insert after it:
procmail -a “$*” /etc/auto.rc
2) Create the file called auto.rc with the following lines:
:0
* ^FROM_MAILER
/dev/null
:0
| /usr/bin/python2 /usr/lib/opcenter/sendmail/responder.pyc $1
Copy this file to /home/virtual/[domainname]/etc/ for all the domains using autoresponder.
(You may want to use virtDomain.sh to automatically copy or create this file when ever a new domain is added)
Now anything coming from MAILER-DAEMON or postmaster that goes to the responder will be sent to /dev/null.
Anything else will be sent to the responder.
Reference: http://parallels.com
500 error in Ensim interface if python-kid is upgraded
To resolve this issue.
For RHEL4, Cent OS 4.1, Cent OS 4.2, Cent OS 4.3, Cent OS 4.4:
Download:
http://download.pro.parallels.com/download/pro/linux/kb/2441/rhel4/removeTemplateBytecode.pyc
Installation Procedure:
Get the binary from the locations mentioned above.
Execute the binary
python removeTemplateBytecode.pyc
service epld restart
Reference: http://parallels.com
Enable ImageMagick perl module for perl/cgi script.
1. Install ImageMagick-perl package corresponding to ImageMagick rpm installed on the server shipped by OS vendor.
e.g.
# rpm -q ImageMagick
ImageMagick-6.0.7.1-12
#rpm -ivh ImageMagick-perl-6.0.7.1-12.i386.rpm
OR
1. You can use up2date or yum to install/upgrade ImageMagick-perl package
# up2date ImageMagick-perl
or
#yum install ImageMagick-perl
2. Run ensim through maintenance mode.
set_pre_maintenance
set_maintenance
set_post_maintenance
service webppliance restart
Reference: http://parallels.com
Bandwidth is getting calculated higher than expected in Ensim Pro for Linux
For RHEL4, Cent OS 4.1, Cent OS 4.2, Cent OS 4.3:
http://download.swsoft.com/ensim/download/pro/linux/4.1.0/hotfix/bandwidth2/rhel4/webppliance-bandwidth-4.1.0-38.rhel.4ES.i386.rpm
Installation Procedure:
rpm -Uvh webppliance-bandwidth-4.1.0-38.[os version].i386.rpm
service webppliance restart
service bandwidth_manager restart
service [affected service] restart (where affected services are proftpd, sendmail, ssh)
Reference : http://parallels.com/
Installation issues on CentOS for Ensim Pro Linux
Since a minimal OS installation for CentOS don’t install prerequisites packages for Ensim Pro X 10.0.0, it is mandatory to create CentOS repos on the local drive or provide an external repos while installing Ensim Pro X 10.0.0
e.g.
python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=http://mirror.centos.org/centos/4/os/i386/ –updates-source=http://mirror.centos.org/centos/4/updates/i386/
OR
python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=file:///path/to/repos/os –updates-source=file:///path/to/repos/updates