Centos服务器接收邮件方法

2025-05-25 22:35:26

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 = 0de盟敢势袂lete = 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服务器接收邮件方法
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢