How to install ionCube loader Published: Mar 19, 2004
  • Rating

    4/5

Set Exim to Properly Reject Invalid Email the right way and let your Cpanel server run a little easier.

Tired of seeing your mail queue fill up with bounce messages to non-existant spammer email addresses? By default, if an email comes into your server addressed to an invalid recipient, Exim will accept the message from the delivering agent, and then generate a return email to them explaining that the address is invalid. With this little tweak, you can make exim tell the delivering agent that that address is invalid at the time the message is being delivered, meaning no more spam returns cluttering up your queue! Can I get an Amen!? Read on!

This is curtesy of cyberspirit in the cpanel forums. Original thread is loacted here.


Method 1)
1. Open WHM and click on Exim Configuration Editor

2. Click on the Switch to Advanced Mode button.

3. Scroll down until you see the section on ACL's. You'll see three boxes. In the middle box, locate the section that reads - See Section A:

Method 2) Recommended

1.
Login into SSH and su to root

2. pico /etc/exim.conf

3. Ctrl + W and type in: accept  domains   Notice the two spaces. Look for something like this below.


Section A:
accept  domains = +local_domains
accept  domains = +relay_domains
accept  hosts = +relay_hosts
accept  condition = ${perl{checkrelayhost}{$sender_host_address}}

Between

accept domains = +local_domains

and

accept domains = +relay_domains

add the following:

endpass
message = unknown user
verify = recipient

Make sure each line lines up. You might need to add two spaces before each line. The final section will look like this:

accept domains = +local_domains
endpass
message = unknown user
verify = recipient
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}

Scroll all the way to the bottom and click on Save.

That's it! Welcome to much smaller mail queues!
  • Rating

    4/5

Related Articles

Comments (14)

  • Gravatar - KDU
    KDU 14:24, January 12, 2005
    Dear sir,Let say i am renting web hosting with some company. I didnt have root access.. but i have ssh access instead cpanel. Is there anyway for me install ioncube?
  • Gravatar - Justin
    Justin 11:04, March 8, 2006
    They should have it installed, it's default for most. I just asked my web hosting company and they did it for me.
  • Gravatar - serviceTech
    serviceTech 06:12, March 26, 2006
    I get this error on restarting apache:<br />
    <br />
    Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: cannot open shared object file: No such file or directory<br />
    <br />
    The path is correct and the said file is present.<br />
    <br />
    Any ideas?<br />
  • Gravatar - norman
    norman 15:08, July 7, 2006
    You have the wrong version of the loaders installed. You either put in the 32 bit or the 64 bit version and you need the other.
  • Gravatar - shan
    shan 14:44, December 13, 2006
    "Paste in your new line for ioncube loader<br />
    zend_extension= /usr/local/ioncube/ioncube_loader_lin_4.3.so"<br />
    <br />
    this line<br />
    zend_extension=/usr/local/ioncube/ioncube_loader_lin_4.3.so"<br />
    must be the first line before the other zend_extensions
  • Gravatar - John
    John 17:09, April 11, 2007
    This tutorial is a little dated - the names of files have changed slightly.
  • Gravatar - nate
    nate 19:10, May 14, 2007
    I seem to be getting stuck at the last part. When I go to http://www.myhost.com/ioncube/ioncube-install-assistant.php I am told that the file has been encoded with ionCube. Isn't this the file that's supposed to help you with that? Thanks!
  • Gravatar - Siavash
    Siavash 03:08, January 21, 2008
    Dear Admin<br />
    <br />
    I want to setup this moudle on the localhost<br />
    help me
  • Gravatar - compassrose
    compassrose 23:09, February 16, 2009
    The instructions provided by ioncube and this forum were correct to a point. Perhaps I have an unusual WAMP Server 2.0 installation but the loader failed consistently despite numerous attempts to place the dll file in various directories (per instructions.)<br />
    <br />
    On a hunch, I finally copied the appropriate dll (ioncube_loader_win_XXX.dll) into the apache directory: [drive letter]:\wamp\bin\apache\apache2.2.8\bin<br />
    <br />
    I then edited the php.ini file and added the following modified line: zend_extension_ts = "[driver letter]:\wamp\bin\apache\apache2.2.8\bin\ioncube_loader_win_XXX.dll" in the location recommended by ioncube, et al. No more errors and the module appears to be working.<br />
    <br />
    Hope this helps others.
  • Gravatar - Madiemax
    Madiemax 23:14, December 12, 2009
    Thanks Compassrose. Follow you directions for localhost and works fine. Well done!
  • Gravatar - Hector
    Hector 07:27, February 23, 2010
    How can disable the loader or be able to see the php coding so I can introduce cahanges to my web site
  • Gravatar - DNN
    DNN 23:30, March 17, 2011
    I am having trouble with the ioncube loader wizard script and how to properly do the SSH commands on my own. What I am trying to do is get the ioncube loader working, so that I can login to my administrative control panel. I've uploaded the site properly and everything else, but my server tells me I need ioncubeloader 5.0.2_so and it's not working...


    http://www.DrewryNewsNetwork.com

    http://forum.DrewryNewsNetwork.com

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2020 WebHostGear.com