I need to build Exim from the source because my current Exim installation is not working. It is a long story why it isn't working, but it has something to do with a PHP exploit and viruses and IRC chat software being installed on the server. Somehow, all this malicious activity broke perl. Which in turn broke other programs such as vi and also Exim. We are currently in the process of getting ready to completely reinstall the OS and DA because of this exploit, however, we need to get this one running for at least a few more weeks while we get things ready for a new server.
I have compiled and reinstalled perl from source and compiled and reinstalled vi from source and both work now. However, when trying to start Exim, I get this error:
This is exactly the same type of error that the vi editor was giving me before I recompiled it. Now it works, so I figure if I recompile Exim, it will work also. I tried the DA RPM's, but they don't make it better. I get the same error after installing them. Anyway, to compile Exim, it says:
My question is, does anybody have a copy of this file (or know where I can get one) that will work for RedHat 9 and DirectAdmin so that I don't miss anything in configuring this file.
Either that or let me know what to change in here before compiling. I think the binary directory should be /usr/sbin, but I'm not sure what the user/group id's should be, or the other stuff.
Thanks.
Louie
I have compiled and reinstalled perl from source and compiled and reinstalled vi from source and both work now. However, when trying to start Exim, I get this error:
Starting exim: /usr/sbin/exim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
This is exactly the same type of error that the vi editor was giving me before I recompiled it. Now it works, so I figure if I recompile Exim, it will work also. I tried the DA RPM's, but they don't make it better. I get the same error after installing them. Anyway, to compile Exim, it says:
Before building Exim, a local configuration file that specifies options independent of any operating system has to be created with the name Local/Makefile. A template for this file is supplied as the file src/EDITME, and it contains full descriptions of all the option settings therein. These descriptions are therefore not repeated here. If you are building Exim for the first time, the simplest thing to do is to copy src/EDITME to Local/Makefile, then read it and edit it appropriately.
There are three settings that you must supply, because Exim will not build without them. They are the location of the run time configuration file (CONFIGURE_FILE), the directory in which Exim binaries will be installed (BIN_DIRECTORY), and the identity of the Exim user (EXIM_USER and maybe EXIM_GROUP as well). The value of CONFIGURE_FILE can in fact be a colon-separated list of file names; Exim uses the first of them that exists.
My question is, does anybody have a copy of this file (or know where I can get one) that will work for RedHat 9 and DirectAdmin so that I don't miss anything in configuring this file.
Either that or let me know what to change in here before compiling. I think the binary directory should be /usr/sbin, but I'm not sure what the user/group id's should be, or the other stuff.
Thanks.
Louie