Centos服务器接收邮件方法

 时间:2024-10-14 10:14:05

1、系统版本和内核

Centos服务器接收邮件方法

2、yum install epel-release

Centos服务器接收邮件方法

3、安装getmailyum -y install getmail

Centos服务器接收邮件方法

4、创建用户并设置密码

Centos服务器接收邮件方法

5、切换到getmail用户创建配置文件、日志文件m氯短赤亻kdir ~/.getmailtouch ~/.getmail/logtouch ~/.getmail/getmailrc

Centos服务器接收邮件方法

6、编辑配置文件~/.getmail/getmailrcverbose = 0delete = truemessage_log = ~/.getmail/logmessage_log_verbose = true[retriever]type = SimplePOP3Retrieverserver = pop.163.comusername = username //username 或 username@163.com,自行替换为163邮箱帐号即可password = userpwd //163邮箱帐号的密码[destination]type = Maildirpath = ~jeffp/Maildir/

Centos服务器接收邮件方法

7、创建邮件保存目录mkdir -p ~/Maildir/curmkdir -p ~/Maildir/newmkdir -p ~/Maildir/tmp

Centos服务器接收邮件方法

8、收取邮件getmail -v -n -r ~/.getmail/getmailrc

Centos服务器接收邮件方法
  • 学厨师一般要多少钱啊
  • 怎样让自己的老婆喜欢下厨房
  • 老人便秘吃什么好 老人便秘你不知道的7个窍门
  • 轿车托运时可以放物品吗
  • 紫狱怎么获得
  • 热门搜索
    怀孕了怎么办 日本为什么不用硅藻泥 我们为什么要上学 妊娠怎么读 笔记本电脑怎么截屏 嘎啦的做法 鹿晗为什么退出exo 小米路由器怎么样 翕怎么读 正方形的面积怎么算