Linux system Installation Configuration exim4 (source installation)

Source: Internet
Author: User

I. Overview of EXIM4

Exim is an MTA (mail Transfer agent, mail transfer agent) Server software, which is developed under the GPL protocol and is an open-source software. The software mainly runs on Unix-like systems. Usually the software is used in conjunction with software such as Dovecot or courier. Exim is also an abbreviation for "Import and Export" (Export-import).


Second, the software media and installation environment

Exim Version: exim-4.89.tar.gz

Installation Environment:

Hardware: Sugon l620-g15 (godson 3b1500)

Operating system: isoft Server OS 5.0BETA3 for MIPS (PU Wah Server OS godson Edition)

Three, installation configuration Exim4

Pre-installation configuration

Service Iptables Stop

Create a normal user test

Install RPM package Pcre-devel, Db4-devel

Get EXIM4 Source Package

wget Ftp://mirror.easyname.at/exim-ftp/exim/exim4/exim-4.89.tar.gztar zxvf EXIM-4.89.TAR.GZCD exim-4.89

  

Configure related files and install

CD EXIM-4.89CP src/editme local/makefile edit Local/makefile "exim_user=" to "exim_user=test" comment exim_monitor= Eximon.binmakemake Install

Iv. Use of EXIM4

/var/spool/mail Add writable permissions to other users:

Chmod-r A+w/var/spool/mail

  

Switch to test user

Add environment variable: path= $PATH:/usr/exim/bin

Execute command: EXIM-BV

[Email protected] ~]$ Exim-bvexim version 4.89 #4 built 31-aug-2017 13:26:24copyright (c) University of Cambridge, 1995 -(c) The Exim maintainers and contributors in acknowledgments file, 2007-2017berkeley Db:berkeley DB 4.7.25: (Octo ber) Support For:iconv () DNSSEC Event prdrlookups (built-in): Lsearch wildlsearch nwildlsearch iplsearch dbm DBMJ Z dbmnz dnsdbAuthenticators:Routers:accept dnslookup ipliteral manualroute queryprogram redirecttransports:appendfile AutoReply Pipe smtpfixed never_users:0

  

No error indicates successful installation.

To send a message:

[Email protected] ~]$ exim-v testlog:main  warning:purging the environment. Suggested Action:use Keep_environment. From:testTo:testSubject:testing Exim This is a test message

return information

[Email protected] ~]$ delivering 1dnlix-00045d-nolog:main  = Test <[email protected]> r=localuser t=local _deliverylog:main  Completed

  

Description sent successfully.

Although the software is installed under the godson, it is also applicable under x86.

Linux system Installation Configuration exim4 (source installation)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.