postfix
(1)配置dns服務器
並添加MX記錄
(2)rpm -ivh postfix----
rpm -ivh perl-Con---
rpm -ivh dovecot----
rpm -ivh system-switch-mail----
rpm -ivh system-switch-mail-gonme---
(3)cd /etc/postfix
vim main.cf
69:myhostname = mail.abc.com
77:mydomain = abc.com
93:myorigin = $mydomain
110:inet_interfaces = localhost, $myhostname
155:mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
255:mynetworks = 192.168.1.0/24,127------
287:realy_domains = $mydestination
410:home_mailbox = Maildir/
(4)vim /etc/dovecot.conf
20:protocols = -----
142:login_process_size=
203:mail_location = maildir:~/Maildir
620:pop3_uidl_format---
(5)mkdir /etc/skel/Maildir
chmod 700 /etc/skel/Maildir
(6)useradd lala
passwd lala
useradd haha
passwd haha
chown lala. /home/lala/Maildir
chmod -R 700 /home/lala/Maildir
chown haha. /home/haha/Maildir
chmod -R 700 /home/haha/Maildir
(7)/etc/init.d/saslauthd restart
/etc/init.d/sendmail stop
/etc/init.d/postfix restart
/etc/init.d/dovecot restart
postfix
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Ubuntu 8.04 下 Apache的基本配置筆記。
maturn
2020-06-29 15:32:14
Weblogic10.3.6創建的域生產模式,啓動時不需要密碼
noob_ming
2020-06-19 18:17:29
ssh 記錄
耀东--winter
2020-02-24 09:26:00
讓程序在 linux 後臺運行的集中方式
耀东--winter
2020-02-24 09:26:00
什麼是CGI程序
Beacher_lu
2020-02-21 14:13:43
Linux 常用命令
MyHuster
2020-02-20 21:08:22
Redhat Linux 7 搭建局域網YUM
lengchao
2019-11-07 12:55:29
Redhat Linux 7 新增硬盤
lengchao
2019-09-25 12:53:49
PRNet人臉重建學習筆記
JohnYu024
2019-09-05 10:40:18
Dns 在linux系統中的應用
S寒NO江W
2019-07-19 14:47:29
Dhcp在網絡中的應用
S寒NO江W
2019-07-19 14:47:07
搭建基於NAT模式的LVS負載均衡羣集
warrent
2019-06-29 12:54:00