安装postfix邮件服务器,简易安装postfix邮件服务器

本文详细介绍了在Debian系统中安装Postfix邮件服务器的步骤,包括选择安装选项,确认服务运行,测试邮件发送与接收,解决邮件接收问题,以及添加SMTP认证等。此外,还提到了安装Courier POP3/IMAP服务器、Apache、PHP和Squirrelmail以实现Webmail功能。
摘要由CSDN通过智能技术生成

【IT168 服务器学院】postfix邮件服务器(debian sarge)

1、简要说明

简易安装postfix邮件服务器

2.1、mail:~#apt-get install postfix

安装,根据提示选"Internet Site"

Where should mail for root go填postfix

Mail name?填mail.wjjennluen.com

Other destinations to accept mail for?(blank for none)填mail.wjjennluen.com, localhost.wjjennleun.com, ,localhost

Force synchronous updates on mail queue?选否

2.2、检查postfix服务是不是已经运行

mail:~# netstat -ln|grep 25

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

tcp6 0 0 :::25 :::* LISTEN

unix 2 [ ACC ] STREAM LISTENING 20256 /tmp/.ICE-unix/11772

2.3、测试postfix

mail:~# telnet 127.0.0.1 25

Trying 127.0.0.1...

Connected to 127.0.0.1.

Escape character is ''^]''.

220 mail.wjjennluen.com ESMTP Postfix (Debian/GNU)

ehlo mail

250-mail.wjjennluen.com

250-PIPELINING

250-SIZE 10240000

250-VRFY

250-ETRN

250 8BITMIME

mail from: "This is a test mail!"

250 Ok

rcpt to:

250 Ok

data

354 End data with .

This is a test mail!

.

250 Ok: queued as 4888ACA0060

quit

221 Bye

Connection closed by foreign host.

好象是发出去了噢

2.4、检查刚发的邮件是否收到

mail:~#apt-get install mailx   下载mail阅读器

mail:~# su - wxt

wxt@mail~:$ mail

No mail for wxt

wxt@mail:~$exit

mail:~#:

my god,没有邮件啊

mail~:#more /var/mail/wxt

没有</

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值