In order to test a correct setup of postfix I had to telnet into the remote server and enter the commands direct. My only problem was to create the AUTH PLAIN. It has to be created like this (in PHP):
In order to test the postfix smtp setup I used something like the following:
dennis@dennis-laptop:~/www/sweetpoints$ telnet mailserver.example.com 25 Trying 18.104.22.168... Connected to mailserver.example.com. Escape character is '^]'. 220 mail.example.com ESMTP Postfix (Ubuntu) AUTH PLAIN AGVtYWlsQGV4YW1wbGUuY29tAHBhc3N3b3JkMTIzNA== 235 2.7.0 Authentication successful MAIL FROM:<email@example.com> 250 2.1.0 Ok rcpt to: <firstname.lastname@example.org> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> And now the message of the mail! . 250 2.0.0 Ok: queued as 9A44A3135A quit
This page has been viewed 2178 times. First hit: 02-Nov-2015 01:09:05
Share email, Google+, Twitter, Facebook.
comments powered by Disqus