LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Test postfix configuration remotely. (https://www.linuxquestions.org/questions/linux-newbie-8/test-postfix-configuration-remotely-4175425026/)

parkarnoor 08-31-2012 02:58 PM

Test postfix configuration remotely.
 
hi

i installed postfix on a server and configured main.cf file for domainname.

i am doing telnet using command #telnet 192.168.1.4 25

i am getting message connected to 192.168.1.4.

escape character is ^].

if i presed ctrl + ]. i am getting telnet> prompt

but i am expecting server connection to smtp. i.e

220 RHEL6KSTest1.dev.com ESMTP Postfix
EHLO hostname
250-rh.dev.com
250-PIPELINING
250-SIZE 10240000
250-VRFY

note: i am not getting above after escapeter character.
the above is copied from tutorial. so i am not getting above after

escape character. i am getting telnet> prompt

i suspect i am missing something.

Regards.
parkar
UAE

kbp 09-02-2012 07:30 PM

I'm sure there are a gazillion tutorials for interacting with a smtp server manually.. you won't get anything after pressing the escape sequence because you would then be disconnected from the server. After connecting try typing:
Code:

helo <client_ip>
.. where <client_ip> is the address you are connecting from.


All times are GMT -5. The time now is 01:45 PM.