我是否将电子邮件存储到了正确的路径?
从工作dovecot-postfix 软件包我可以这样给自己发送电子邮件:
thufir@dur:~$
thufir@dur:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 dur.bounceme.net ESMTP Postfix (Ubuntu)
HELO me
250 dur.bounceme.net
mail from:<[email protected]>
250 2.1.0 Ok
rcpt to:<thufir@localhost>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject: to evolution mail
we'll see if this goes through.
.
250 2.0.0 Ok: queued as 43D6F2A07C1
quit
221 2.0.0 Bye
Connection closed by foreign host.
thufir@dur:~$
然后是以下信息:
thufir@dur:~$ ll Maildir/new/
total 20
drwx------ 2 thufir thufir 4096 Nov 16 18:56 ./
drwx------ 5 thufir thufir 4096 Nov 16 18:56 ../
-rw------- 1 thufir thufir 410 Nov 16 11:57
1353095866.M305477P3932.dur,S=410,W=422
-rw------- 1 thufir thufir 424 Nov 16 17:20
1353115248.M841336P2990.dur,S=424,W=436
-rw------- 1 thufir thufir 445 Nov 16 18:56
1353121003.M187706P3838.dur,S=445,W=457
thufir@dur:~$
thufir@dur:~$ nl Maildir/new/1353121003.M187706P3838.dur\,S\=445\,W\=457
1 Return-Path: <[email protected]>
2 X-Original-To: thufir@localhost
3 Delivered-To: thufir@localhost
4 Received: from me (localhost [127.0.0.1])
5 by dur.bounceme.net (Postfix) with SMTP id 43D6F2A07C1
6 for <thufir@localhost>; Fri, 16 Nov 2012 18:55:55 -0800
(PST)
7 subject: to evolution mail
8 Message-Id: <[email protected]>
9 Date: Fri, 16 Nov 2012 18:55:55 -0800 (PST)
10 From: [email protected]
11 we'll see if this goes through.
thufir@dur:~$
我可能错误地配置了 postfix 吗?我问是因为进化似乎对邮件使用了不同的路径。
答案1
实际上,并不存在“存储 Maildir 邮件的正确路径”。您可以将其存储在任何您想要存储的地方。您可以选择将其存储在用户的主目录中,也可以选择将其存储在任意路径下,例如 /data/mail,或者...随便什么。