root@mail:~# ss -lntup
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0 users:(("sshd",pid=443,fd=3))
tcp LISTEN 0 100 0.0.0.0:25 0.0.0.0:* users:(("master",pid=1838,fd=13))
tcp LISTEN 0 100 0.0.0.0:993 0.0.0.0:* users:(("dovecot",pid=5768,fd=40))
tcp LISTEN 0 100 0.0.0.0:995 0.0.0.0:* users:(("dovecot",pid=5768,fd=23))
tcp LISTEN 0 100 0.0.0.0:110 0.0.0.0:* users:(("dovecot",pid=5768,fd=21))
tcp LISTEN 0 100 0.0.0.0:143 0.0.0.0:* users:(("dovecot",pid=5768,fd=38))
tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=443,fd=4))
tcp LISTEN 0 100 [::]:25 [::]:* users:(("master",pid=1838,fd=14))
tcp LISTEN 0 100 [::]:993 [::]:* users:(("dovecot",pid=5768,fd=41))
tcp LISTEN 0 100 [::]:995 [::]:* users:(("dovecot",pid=5768,fd=24))
tcp LISTEN 0 100 [::]:110 [::]:* users:(("dovecot",pid=5768,fd=22))
tcp LISTEN 0 100 [::]:143 [::]:* users:(("dovecot",pid=5768,fd=39))
端口号定义:
root@mail:/var/mail# cat testuser
From testuser@test.com Sat Jun 11 08:45:00 2022
Return-Path:
X-Original-To: testuser@test.com
Delivered-To: testuser@test.com
Received: from unknown (unknown [192.168.11.131])
by mail.test.com (Postfix) with SMTP id AF0B742C0788
for ; Sat, 11 Jun 2022 08:44:09 +0800 (CST)
dsfsd
lkwef
这说明postfix的基本功能已经起来了。
telnet mail.test.com 110
+OK Dovecot (Debian) ready.
user testuser
+OK
pass 123456
+OK Logged in.
list
+OK 2 messages:
1 308
2 304
.
retr 1
+OK 308 octets
Return-Path:
X-Original-To: testuser@test.com
Delivered-To: testuser@test.com
Received: from unknown (unknown [192.168.11.131])
by mail.test.com (Postfix) with SMTP id AF0B742C0788
for ; Sat, 11 Jun 2022 08:44:09 +0800 (CST)
dsfsd
lkwef
.
retr 2
+OK 304 octets
Return-Path:
X-Original-To: testuser@test.com
Delivered-To: testuser@test.com
Received: from unknown (unknown [192.168.11.131])
by mail.test.com (Postfix) with SMTP id 0C23742C097C
for ; Sat, 11 Jun 2022 08:49:48 +0800 (CST)
abc
ddd
.
quit
+OK Logging out.
这说明dovecot的基本功能也正常启动了。