- 论坛徽章:
- 0
|
本帖最后由 gh520 于 2012-03-20 16:32 编辑
发现postfix check 如下。
- superadmin@ubuntu-svr:~$ postfix check
- postfix: error: to submit mail, use the Postfix sendmail command
- postfix: fatal: the postfix command is reserved for the superuser
复制代码 但用sudo ,又没有信息。
- superadmin@ubuntu-svr:~$ sudo postfix check
复制代码
- superadmin@ubuntu-svr:/etc/postfix$ telnet localhost 25
- Trying ::1...
- Trying 127.0.0.1...
- Connected to localhost.
- Escape character is '^]'.
- 220 ubuntu-svr ESMTP Postfix (Ubuntu)
复制代码 然后
- ehlo localhost
- mail from: noreply@localhost
- rcpt to: gh520@hotmail.com
- data
- Subject: My first mail on Postfix
- Hi,
- Are you there?
- regards,
- Admin
- . (Type the .[dot] in a new Line and press Enter )
- quit
复制代码 显示是
- 250-ubuntu-svr
- 250-PIPELINING
- 250-SIZE 10240000
- 250-VRFY
- 250-ETRN
- 250-STARTTLS
- 250-ENHANCEDSTATUSCODES
- 250-8BITMIME
- 250 DSN
- 250 2.1.0 Ok
- 250 2.1.5 Ok
- 354 End data with <CR><LF>.<CR><LF>
复制代码 这算正确发出去吗,但我邮箱里收不到这封信咯
各位知道怎么回事吗? |
|