Linux Lecture13
Linux Lecture13
Linux Lecture13
Mail Architecture
Internet
Mail Server
Mail Server
Mail Architecture
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
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)