Autor: Stanislaw Halik
Data:
Dla: exim-users
Temat: Re: [exim] smtp authorization test via telnet?
meburke@??? wrote:
> So, I'm wondering if anyone knows how to check smtp authorization from telnet?
sure.
~$ php
<?
print base64_encode("\0username\0password")."\n";
^D
AHVzZXJuYW1lAHBhc3N3b3Jk
~$ telnet 0 25
[...]
Escape character is '^]'.
<- 220 [greeting]
-> ehlo [host]
<- 250 [features]
-> auth plain
<- 334
-> AHVzZXJuYW1lAHBhc3N3b3Jk