当前位置:网站首页>Sendmail dovecot mail server
Sendmail dovecot mail server
2022-06-12 11:14:00 【Brother Xing plays with the clouds】
Sendmail Application
experiment : Realization 163.com Users in the domain and sina.com.cn Users in this domain can send e-mails to
Topology
stay 163.com Set up mail in this domain The server mail.163.com
sendmail-8.13.8-2.el5.i386.rpmsendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-cf-8.13.8-2.el5.i386.rpmsendmail-doc-8.13.8-2.el5.i386.rpm
stay /etc/mail/ A corresponding file is formed under the directory
Sendmail.mc file
because sendmail The configuration file for is quite complex , By modifying this file , restart sendmail It will be updated dynamically sendmail Configuration file for , Achieve the effect of modifying the configuration file .
hold sendmail The listening address of is changed to 0.0.0.0 explain sendmail Can listen to any address
access File is defined to allow sendmail Send relay messages to which clients
Create two users user1、user2
Enter into /var/mail/ View the user's mailbox under the directory
Install receive mail The server
dovecot-1.0.7-7.el5.i386.rpm
Receiving mail The server The application layer service agreements provided are imap4imapspop3pops,imappop3 Is based on tcp Transmission of plaintext ,imaps and pops Is based on tcp Authentication protocol ,imap4 The port of is 143,imaps The port of is 993,pop3 The port is 110,pops The port of is 995.
Windows The mail client software of the system is outlook, open outlook,user1 use outlook Send yourself an email , Then receive the mail .
Check email The server Log
Oct1102:39:30localhostsendmail[13294]:r9B9dUhm013294:from=<[email protected]>,size=414,,nrcpts=1,msgid=<[email protected]>,proto=SMTP,daemon=MTA,relay=[192.168.20.101]
Oct1102:39:30localhostsendmail[13295]:r9B9dUhm013294:to=<[email protected]>,ctladdr=<[email protected]>(501/501),delay=00:00:00,xdelay=00:00:00,mailer=local,pri=30582,dsn=2.0.0,stat=Sent
see user1 Received mail
stay sina.com.cn Build in domain mail.sina.com.cn Mail server
install sendmail and dovecot
open accecss file
install dns The server , Do domain name resolution for the mail server
Sendmail.mc file
because sendmail The configuration file for is quite complex , By modifying this file , restart sendmail It will be updated dynamically sendmail Configuration file for , Achieve the effect of modifying the configuration file .
hold sendmail The listening address of is changed to 0.0.0.0 explain sendmail Can listen to any address
Useradduser3
stay windows The system's own mail client software outlook,user3 Send and receive e-mails for yourself ,sina.com.cn Can mail servers in this domain send and receive mail .
Observe that the log is sent successfully
Oct1202:01:07localhostsendmail[17883]:r9C9172E017883:from=<[email protected]>,size=437,,nrcpts=1,msgid=<[email protected]>,proto=SMTP,daemon=MTA,relay=[192.168.20.202]
Oct1202:01:07localhostsendmail[17898]:r9C9172E017883:to=<[email protected]>,ctladdr=<use[email protected]>(502/503),delay=00:00:00,xdelay=00:00:00,mailer=local,pri=30618,dsn=2.0.0,stat=Sent
Oct1202:01:21localhostdovecot:pop3-login:Login:user=<user3>,method=PLAIN,rip=::ffff:192.168.20.202,lip=::ffff:192.168.20.2
use 163.com Mailbox users in this domain user1 to sina.com.cn Mailbox users in this domain user3 Send E-mail , The email title is :ok, The content is :hellouser3.
Check the log :
ct1202:45:06mailsendmail[11344]:r9C9T9Fg011344:[email protected],size=23,,nrcpts=1,msgid=<[email protected]>,proto=SMTP,daemon=MTA,relay=[192.168.20.100]
Oct1202:45:06mailsendmail[11344]:r9C9T9Fg011344:[email protected],delay=00:06:35,mailer=esmtp,pri=30023,dsn=4.4.3,stat=queued
边栏推荐
- Using the echart plug-in to dynamically refresh charts in uview/uni-app
- selenium使用代理IP
- Distributed storage exploration
- The most detailed explanation of the top ten levels of sqli labs platform
- redis 总结
- Get start date and end date for all quarters of the year
- NFT数字藏品的可验证性和稀缺性
- JS obtains the time period of this week and last week (one time period is from Monday to Sunday)
- 深度学习与CV教程(14) | 图像分割 (FCN,SegNet,U-Net,PSPNet,DeepLab,RefineNet)
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
猜你喜欢

基于C#的安全聊天工具设计

Flex layout

How to upload the video on the computer to the mobile phone without network

M-Arch(番外12)GD32L233评测-CAU加解密(捉弄下小编)

^33变量提升和函数提升面试题

Set SVG color

Fiddler automatically saves the result of the specified request to a file
![[machine learning] practice of logistic regression classification based on Iris data set](/img/c6/0233545d917691b8336f30707e4636.png)
[machine learning] practice of logistic regression classification based on Iris data set

Leetcdoe 2037. Make each student have the minimum number of seat movements (yes, once)

读mysql45讲-自我总结(部分)
随机推荐
ArrayList automatic capacity expansion principle
蓝桥杯2015年CA省赛(填坑中)
k52.第一章 基于kubeadm安装kubernetes v1.22 -- 集群部署
套接字编程TCP篇
Common configuration commands for Cisco network device security management
B+ 树的简单认识
CLJ3-100ALH30剩余电流继电器
JS open common application market
AcWing 1921. 重新排列奶牛(环图)
This and final keywords
网络的拓扑结构
模块8作业
Building 64 bit wampserver and DVWA in win7 virtual machine
信号继电器RXSF1-RK271018DC110V
AcWing 131. The largest rectangle in the histogram (monotone stack classic application template)
AcWing 41. 包含min函数的栈(单调栈)
JS pull-up loading more problems encountered in normal execution
Index query efficiency of MySQL
架构训练模块 7
M-Arch(番外10)GD32L233评测-SPI驱动DS1302