0% found this document useful (0 votes)
18 views8 pages

Linux Lecture13

The document summarizes how to set up a mail server. It describes using SMTP to transfer mail between servers over the internet, and using POP3 and IMAP for clients to retrieve mail from the mail server. It provides instructions for configuring the sendmail daemon and service, and for starting a POP3 and IMAP server using dovecot. Finally, it briefly outlines setting up a Linux router by installing two network cards and enabling IP forwarding.

Uploaded by

ankit boxer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views8 pages

Linux Lecture13

The document summarizes how to set up a mail server. It describes using SMTP to transfer mail between servers over the internet, and using POP3 and IMAP for clients to retrieve mail from the mail server. It provides instructions for configuring the sendmail daemon and service, and for starting a POP3 and IMAP server using dovecot. Finally, it briefly outlines setting up a Linux router by installing two network cards and enabling IP forwarding.

Uploaded by

ankit boxer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Mail Server Setup

MAIL SERVER SETUP

Mail Server Setup

Mail Architecture

Internet
Mail Server

Mail Server

Mail Server Setup

Mail Architecture

Mail Server Setup

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

Mail Server Setup

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

Mail Server Setup

PoP & IMAP Server


PoP3 & IMAP Server can be started using dovecot server (service dovecot restart).

Linux Router Setup

LINUX ROUTER

Linux Router Setup

Linux Router
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=1 (The default value is 0)

You might also like