Docsity

Mail Server Setup - Linux Network Administration - Lecture Slides, Slides of Computer Security

Partial preview of the text

Download Mail Server Setup - Linux Network Administration - Lecture Slides and more Slides Computer Security in PDF only on Docsity!

MAIL SERVER SETUP

Mail Architecture

Mail Server

Internet

Mail Server

Mail Architecture

Simple Mail Transfer Protocol (SMTP) is used to transfer mail between Mail Servers over Internet

Post Office Protocol (PoP) and Internet Message Access Protocol (IMAP) is used between Client and Mail Server to retrieve mails

Sendmail Configuration

Daemon: sendmail Configuration File: /etc/mail/sendmail.mc Edit the following lines

LOCAL_DOMAIN(localhost.localdomain')dnl DAEMON_OPTIONS(Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Run “make –C /etc/mail” command to compile sendmail.mc and generate sendmail.cf file.

Restart sendmail and watch for errors

Linux Router Setup

LINUX ROUTER

Linux Router

Linux Router Setup

Install two Network Cards Configure the two network cards to belong to two networks Edit the following line in /etc/sysctl.conf and reboot net.ipv4.ip_forward= (The default value is 0)