Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Postfix Mail Server (basic)

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Mail server

E-mail server is a general term for software and hardware facilities that deal with mail exchange, including e-mail programs, e-mail boxes and so on. Provide users with an e-mail system based on E-mail service, and people exchange mail by visiting the server.

Common mail servers

Type name characteristics: server-side Sendmail has the oldest qualification and stable operation, but its security is poor. Postfix adopts modular design, has excellent performance in delivery efficiency, stability, performance and security, and maintains sufficient compatibility with sendmail. Qmail adopts modular design, which has high speed and high execution efficiency, and the configuration of client Outlook is slightly more complex.

Oe

Foxmail

Mail application protocol

SMTP simple Mail transfer Protocol (outgoing mail) TCP port 25, using TCP port 465 for encryption

POP3 3rd Edition Post Office Protocol (incoming Mail) TCP port 110, using TCP port 995 for encryption

IMAP4 fourth Edition Internet Mail access Protocol (incoming Mail) TCP port 143Use TCP 993port for encryption

Mail system role

MUA (Mail user Agent) sendmail qmail postfix

MTA (Mail transfer Agent) outlook

MDA (Mail Distribution Agent) maildrop

MRA (mail retrieval agent) dovecot

Software installation

Postfix

Home directory: / etc/postfix

Master profile: main.cf

Tuned file: master.cf

Myhostname: Mail server hostname

Mydomain: Mail domain

Myorigin: sets the mail domain for users who are allowed to send messages

Mydestination: sets the mail domain for users who are allowed to receive mail

Simple email sending and receiving

Prerequisite: have a DNS server (DNS server IP:115.179)

(1) yum-y install bind

(2) modify / etc/named.conf

(IP:115.175 of the mail server) at this time, the mail server is also used as the test machine. You need to point the DNS of your DNS server to the IP of the DNS server.

Configure the mail server (main.cf)

Testing requires telnet tools, and Telnet services are based on xinetd services

Install xinetd (yum install-y xinetd yum install-y telnet)

If there is no telnet in the / etc/xinetd.d/ directory, you need to generate one yourself

Cp-a rsync telnet

Modify the telnet file

Create two users (zhangsan, lisi)

Check the email:

Install the Mail Retrieval Agent to view incoming messages:

Yum install-y dovecot dovecot-devel

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report