- 论坛徽章:
- 1
|
小弟菜鸟一个,最近才开始研究postfix,按照文档测试postfix发信是否正常,最后发信正常,在/home/dino/Maildir的new中的确存在收到的信,但是mail就是说没有信,不知道为什么.
dino@mail:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail.dino.com.cn ESMTP Postfix (Ubuntu)
ehlo localhostmail
250-mail.dino.com.cn
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:root@localhost
250 2.1.0 Ok
rcpt to:dino@localhost
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Subject: Mail test
mail test!!!
.
250 2.0.0 Ok: queued as 02F225BDB2
quit
221 2.0.0 Bye
Connection closed by foreign host.
dino@mail:~$ mail
No mail for dino
dino@mail:~$
dino@mail:~$ cd Maildir/new/
dino@mail:~/Maildir/new$ cat 1195547357.V807I1ca3eM102599.mail.dino.com.cn
Return-Path: <root@localhost>
X-Original-To: dino@localhost
Delivered-To: dino@localhost
Received: from localhostmail (localhost.localdomain [127.0.0.1])
by mail.dino.com.cn (Postfix) with ESMTP id 02F225BDB2
for <dino@localhost>; Tue, 20 Nov 2007 16:28:21 +0800 (CST)
Subject: Mail test
Message-Id: <20071120082832.02F225BDB2@mail.dino.com.cn>
Date: Tue, 20 Nov 2007 16:28:21 +0800 (CST)
From: root@localhost
To: undisclosed-recipients:;
mail test!!!
有谁遇到过啊,帮帮忙,指点一下谢谢.
[ 本帖最后由 jxg945 于 2007-11-21 11:10 编辑 ] |
|