Skip to main content

OnlineSupport4u

rejected by non-SMTP ACL: failed to expand ACL string Exim

By PrasadNaik
March 17, 2015

If you have been getting error  in exim while sending emails “rejected by non-SMTP ACL: failed to expand ACL string” Use the below fix where you need to rebuild exim config and also cop root@shared [/]# /scripts/buildeximconf Configuration file passes test!  New configuration file was installed. warn [buildeximconf] Could not find /etc/exim.pl warn [buildeximconf] Could […]

Read More

Check if Hard drive is SATA or SSD

By PrasadNaik
September 10, 2014

[root@host.onlinesupport4u.in ~]# cat /sys/block/sda/queue/rotational Result is 0 if the drive is SSD [root@host.onlinesupport4u.in ~]# cat /sys/block/sda/queue/rotational Result is 1 if drive is  SATA

Read More

Mod_Security disable

By PrasadNaik
April 12, 2014

If you want to disable security for one singled domain name you can do it by editing virtualhost in httpd.conf You can add the below setting in apache’s virtualhost for the domain name You need to add below rule to disable mod_security <IfModule mod_security2.c> SecRuleEngine off </IfModule>    

Read More

Disable cphulkd in cpanel server

By PrasadNaik
April 11, 2014

Sometime you may face issue while logging to WHM where password does not work but via SSH password work  The issue in cpanel server is due to cphulkd which is one of the security feature. to get it password working you need to ssh and disabled cphulkd using below commands root@server [~]# /usr/local/cpanel/etc/init/stopcphulkd Waiting for […]

Read More

Adding a custom php.ini cPanel account

By PrasadNaik
March 30, 2014

To make your account in cpanel  server have custom php.ini for all subfolder                       You need to use below code steps 1)   Login to server via SSH 2) scp /usr/local/lib/php.ini  /home/cpanelusername/public_html/ 3)   vi /home/cpanelusername/public_html/.htaccess Add below code suPHP_ConfigPath /home/pankaj12/public_html <Files php.ini> order allow,deny deny from all </Files> Once done custom php.ini should be available for all […]

Read More

FATAL: Test install failed cpanel

By PrasadNaik
March 25, 2014

  If you get below fatal error while updating cpanel   [20140325.101511] ***** FATAL: Test install failed:     package cpanel-php54-ingo-3.1.2-3.cp1142.noarch is already installed [20140325.101511]   The Administrator will be notified to review this output when this script completes [20140325.101511] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 14050. [20140325.101511]   see http://go.cpanel.net/rpmcheckfailed […]

Read More

Lynx file “/etc/lynx.lss” is not available.

By PrasadNaik
March 23, 2014

Are you getting below error in cpanel for cron  Lynx file “/etc/lynx.lss” is not available” in cpanel server ?  You can fix it using below mentioned setting   # vi /var/cpanel/exim.conf.deps   and append it and add below entries                             /etc/lynx.lss Now Save file and quit and error should dissappear          

Read More

Wrong mailbox quota in cPanel

By PrasadNaik
March 23, 2014

If your cpanel is showing wrong mailbox quota than the actual usage  You  need to Do the following steps to get it fixed. Login to your server with root user and check the actual usage of email account #cd  /home/username/mail/domain.rld / #du -sch emailaccount If you found the difference in actual usage and cpanel results […]

Read More

Fine spammer account in cpanel server

By PrasadNaik
September 27, 2013

Getting sick of spammers in server and IP blacklisting ?  To find the spammer account in server you need to SSH to server and run below command awk ‘$3 ~ /^cwd/{print $3}’ /var/log/exim_mainlog | sort | uniq -c | sed “s|^ *||g” | sort -nr This will show the the path of the user account […]

Read More
1 5 6 7