Linux学习篇第三章之~配置电子邮件传输(dovecot)
来源:互联网 发布:广西航信金税盘软件 编辑:程序博客网 时间:2024/06/05 20:48
------------------------------------------------------------------dovecot-----------------------------------------------------------------------------
1.dovecot 用来提供收件协议
pop3 110 ##默认端口
imap 143
imaps 993
pop3s 995
给定用户名称,用户密码,通过dovecot程序去查看用户的邮件
2.yum install dovecot -y
3.vim /etc/dovecot/dovecot.conf
24 protocols = imap pop3 lmtp ##使用协议
48 login_trusted_networks = 0.0.0.0/0 ##允许全网访问
49 disable_plaintext_auth = no ##允许明文授权
vim /etc/dovecot/conf.d/10-mail.conf
30 mail_location = mbox:~/mail:INBOX=/var/mail/%u ##用户邮件所在地址
systemctl restart dovecot
[root@westos-mail ~]# useradd westos
[root@westos-mail ~]# passwd westos
[root@westos-mail ~]# su westos
[westos@westos-mail root]$ cd ~
[westos@westos-mail ~]$ mkdir mail/.imap/ -p ##创建邮件的目录
[westos@westos-mail ~]$ touch mail/.imap/INBOX ##
[westos@westos-mail ~]$ mail westos
Subject: test
test
test
.
EOT
[root@westos-mail ~]# mkdir /etc/skel/mail/.imap -p
[root@westos-mail ~]# touch /etc/skel/mail/.imap/INBOX
测试:
[root@qq-mail ~]# yum install mutt -y
[root@qq-mail ~]# mutt -f pop://westos@172.25.254.143 ##查看westos的邮件
1 kept, 0 deleted.
[root@qq-mail ~]#
1.dovecot 用来提供收件协议
pop3 110 ##默认端口
imap 143
imaps 993
pop3s 995
给定用户名称,用户密码,通过dovecot程序去查看用户的邮件
2.yum install dovecot -y
3.vim /etc/dovecot/dovecot.conf
24 protocols = imap pop3 lmtp ##使用协议
48 login_trusted_networks = 0.0.0.0/0 ##允许全网访问
49 disable_plaintext_auth = no ##允许明文授权
vim /etc/dovecot/conf.d/10-mail.conf
30 mail_location = mbox:~/mail:INBOX=/var/mail/%u ##用户邮件所在地址
systemctl restart dovecot
[root@westos-mail ~]# useradd westos
[root@westos-mail ~]# passwd westos
[root@westos-mail ~]# su westos
[westos@westos-mail root]$ cd ~
[westos@westos-mail ~]$ mkdir mail/.imap/ -p ##创建邮件的目录
[westos@westos-mail ~]$ touch mail/.imap/INBOX ##
[westos@westos-mail ~]$ mail westos
Subject: test
test
test
.
EOT
[root@westos-mail ~]# mkdir /etc/skel/mail/.imap -p
[root@westos-mail ~]# touch /etc/skel/mail/.imap/INBOX
测试:
[root@qq-mail ~]# yum install mutt -y
[root@qq-mail ~]# mutt -f pop://westos@172.25.254.143 ##查看westos的邮件
1 kept, 0 deleted.
[root@qq-mail ~]#
阅读全文
0 0
- Linux学习篇第三章之~配置电子邮件传输(dovecot)
- Liunx学习篇第三章之~配置电子邮件传输(postfix)
- Linux学习篇第三章之~dovecot & mysql + 空壳邮件
- 配置电子邮件传输----邮件接收dovecot
- linux配置电子邮件传输(二)
- linux下配置电子邮件传输(一)
- 配置电子邮件传输+mariadb
- 配置电子邮件传输
- Linux学习篇第三章之~高级网络配置
- 学习运维——配置电子邮件传输
- linux学习之邮件服务管理,postfix,dovecot,thunderbird,mysql
- Linux学习篇第三章之~mariadb
- Linux学习篇第三章之~apache
- Linux学习篇第三章之~squid
- Linux学习篇第三章之~防火墙
- Linux学习篇第三章之~samba
- Linux学习篇第三章之~nfs
- Linux学习篇第三章之~iscsi
- 花匠——动态规划
- [树的直径] Codeforces 804D Round #411 (Div. 1) D. Expected diameter of a tree
- 重建二叉树以及树的遍历
- easyui 的datagrid点击第二页时显示的内容和第一页相同
- 算术表达式的转换
- Linux学习篇第三章之~配置电子邮件传输(dovecot)
- 第一个网页
- GEC210 系统更新说明
- Prime Path POJ
- #HDU3415#Max Sum of Max-K-sub-sequence(单调队列基础)
- bzoj1308: fac
- The Smallest String Concatenation CodeForces
- RxJava+RxAndroid 初学者一看一敲就懂
- Retrofit+RxJava进行网络请求流程解析