LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configure Exim From Source File (https://www.linuxquestions.org/questions/linux-newbie-8/configure-exim-from-source-file-4175500911/)

vbarun2000 04-07-2014 08:39 PM

Configure Exim From Source File
 
dear all,

i am currently doing a internship program in an hosting company,and now they given me a task to configure Exim server from source file so plz me to configure it

i try the below method but getting errors while making

First in /etc/passwd, add :

exim:x:111:111::/var/spool/mail:/bin/false

Then in /etc/group, add :
exim:x:111:


/etc/aliases:

postmaster: root
root: your login name
abuse: your login name


Then execute the following commands:

mkdir -p /var/spool/mail &&
mkdir -p /var/log/exim &&
chown exim:exim /var/spool/mail &&
chown exim:adm /var/log/exim &&
chmod 1777 /var/spool/mail &&
chmod 2750 /var/log/exim

cd /usr/src/ &&
tar xzvf /pathtoBerkeley.tar.gz && {dependencies}
./configure prefix=/usr &&
make &&
make instal


cd /usr/src &&
mkdir /etc/exim
tar xvfz /path-to/exim-<version>.tar.gz.


The Makefile
-----------------

Change to the Exim source directory. Please do take a look at README. In
the Exim source directory, make a directory called Local. In Local,
create a file, Makefile, with the following text (you ought to be able to just paste this
in):

# Where the executable will reside
BIN_DIRECTORY=/usr/local/bin

# The run time control file. Best keep all run-time control #files in
# /etc as you can then backup all your system
#configuration by copying /etc/

CONFIGURE_FILE=/etc/exim/exim.conf

# If you have not followed step 1 in making this user id 111, #set this
# equal to output of "id -u exim".
EXIM_UID=111

# If you have not followed step 1 in making this group id #111, set this
# equal to output of "id -g exim".
EXIM_GID=111

# Its best just assume that these are needed even if you don't # know
# how you will use them.
DIRECTOR_LOCALUSER=yes
DIRECTOR_FORWARDFILE=yes
DIRECTOR_ALIASFILE=yes
DIRECTOR_SMARTUSER=yes
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes

# Uncomment these only if using previously installed #OpenSSL when
# sending email.
#SUPPORT_TLS=yes
#TLS_LIBS=-lssl -lcrypto

MSGLOG_DIRECTORY_MODE=0700
SPOOL_DIRECTORY=/var/spool/mail
SPOOL_DIRECTORY_MODE=07
SPOOL_MODE=0600
LOG_FILE_PATH=/var/log/exim/exim_%slog
LOG_DIRECTORY_MODE=0750
LOG_MODE=0644
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
ROUTER_DOMAINLIST=yes
ROUTER_LOOKUPHOST=yes
ROUTER_IPLITERAL=yes
ROUTER_QUERYPROGRAM=yes

5. Compiling and installing
-----------------------------

Execute "make" and "make install" as root.

John VV 04-07-2014 11:12 PM

did you even read the instructions ?
http://www.exim.org/exim-html-curren...ling_exim.html
and if so where EXACTLY are you stuck

If i were you i would start on Page 1 of chapter 1
http://www.exim.org/exim-html-curren...roduction.html


All times are GMT -5. The time now is 07:18 PM.