Home   Kaiming



POP3

Exchange 2003

Telnet Paula.work.com 110

+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (paula.work.com) ready.
USER 2003U1@work.com
+OK
PASS password
+OK User successfully logged on.
STAT
+OK 16 36476
list
+OK 16 36476
1 2548
2 2707
3 2496
4 2490
5 2618
6 2695
7 2518
8 2681
9 2685
10 1828
11 1862
12 1868
13 1862
14 1888
15 1872
16 1858
.
retr 5
+OK


Command list for pop3:

USER userid@domain.com
PASS  password
STAT
LIST
Retr msg#            retrieve a message
Dele  msg#           delete a message
Rset    the QUIT command will not delete the messages that are marked for deletion in the session
QUIT


Exchange 2007

Set-PopSettings -LoginType PlainTextLogin

start-service MSExchangePOP3
Restart-Service MsExchangePOP3

Telnet ex20071.work.com 110

+OK The Microsoft Exchange POP3 service is ready.
user sam@work.com
+OK
pass a
+OK User successfully logged on.
stat
+OK 1 2561


SMTP

Base 64 encoding


User Name

Base 64 encode

Password

Base 64 encode

Sam@work.com

U2FtQHdvcmsuY29t

a

YQ==

2003U1@work.com

MjAwM1UxQHdvcmsuY29t

a

YQ==

2007U1@work.com

MjAwN1UxQHdvcmsuY29t

a

YQ==

Tim@work.com

VGltQHdvcmsuY29t

a

YQ==

Exchange 2003 server: refer to

Telnet Paula.work.com 25

220 paula.work.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at
Sun, 28 Dec 2008 09:52:27 -0800
ehlo work.com
250-paula.work.com Hello [192.168.11.10]
250-TURN

250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN

250-X-LINK2STATE
250-XEXCH50
250 OK
Auth login
334 VXNlcm5hbWU6
U2FtQHdvcmsuY29t
334 UGFzc3dvcmQ6
YQ==
235 2.7.0 Authentication successful.

Exchange 2007 server

Get-ReceiveConnector -Server Ex20071 | fl Name,Auth*,per*,bind*

 

Name             : Default EX20071
AuthMechanism    : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
PermissionGroups : ExchangeUsers, ExchangeServers, ExchangeLegacyServers
Bindings         : {0000:0000:0000:0000:0000:0000:0.0.0.0:25, 0.0.0.0:25}

Name             : Client EX20071
AuthMechanism    : Tls, Integrated, BasicAuth, BasicAuthRequireTLS
PermissionGroups : ExchangeUsers
Bindings         : {0.0.0.0:587}

Telnet ex20071.work.com 587
Telnet ex20071.work.com 25

220 ex20071.work.com Microsoft ESMTP MAIL Service ready at Sun, 28 Dec 2008 11:0
7:27 -0800
ehlo work.com
250-ex20071.work.com Hello [192.168.11.1]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250 CHUNKING


Remove the TLS authentication method;

Set-ReceiveConnector -id 'ex20071\client ex20071' -AuthMechanism BasicAuth

Telnet ex20071.work.com  587

220 ex20071.work.com Microsoft ESMTP MAIL Service ready a
8:02 -0800
ehlo work.com
250-ex20071.work.com Hello [192.168.11.10]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING

telnet1

With AnonymousUsers permission, authentication does not matter.

Set-ReceiveConnector "ex20071\client ex20071" -PermissionGroups AnonymousUsers,ExchangeUsers

telnet2


Home