Fail to telnet localhost 25
Hi folks,
Ubuntu-6.06.1-LAMP-server-amd64 I followed Section "11 Postfix With SMTP-AUTH And TLS" on http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p5 to config LAMP server. Encountered problem on running; $ sudo telnet localhost 25 Code:
Trying 127.0.0.1... TIA B.R. satimis |
Quote:
Code:
ehlo yourdomain.com |
Hi bathory,
Quote:
$ sudo /etc/init.d/saslauthd restart Password: Code:
Stopping SASL Authentication Daemon: saslauthd. Code:
Trying 127.0.0.1... B.R. satimis |
You can use the following smtp commands to send an email
Code:
telnet localhost 25 |
Hi bathory,
Tks for your advice. Quote:
B.R. satimis |
Well you can use whatever domain you want (existing or not existing) as yourdomain.com (you can also leave it as is or use localhost) and a valid email address to get the email (replace recipient@otherdomain.com).
But keep in mind that most mailservers do not accept mail from a host who's IP does not resolve to a domain. So you can test it locally (i.e send an email from you to yourself). |
Hi bathory,
Quote:
1) $ telnet localhost 25 Code:
Trying 127.0.0.1... 2) $ sudo telnet localhost 25 Password: Code:
Trying 127.0.0.1... Furthermore sending a email to myself I still have to going through ISP. I think I have to register a free domain to continue this test. Tks. B.R. satimis |
Quote:
Instead of rcpt to: satimis@abc.com (I guess it's not real), why don't you use rcpt to: satimis@localhost to see if you can send/receive locally (assuming the user satimis exists) and use whatever account you have in webmail services like gmail, hotmail etc to see if you can send outside your box. |
Hi bathory,
Further test; $ telnet localhost 25 Code:
Trying 127.0.0.1... Yes I received the mail. Also sent it to webmail a/c on yahoo.com. But up to the time of writing I haven't received it. Others noted with tks. B.R. satimis |
Quote:
Regards |
Quote:
Quote:
Code:
telnet a.mx.mail.yahoo.com 25 To fix, go to http://add.yahoo.com/fast/help/us/mail/cgi_defer and tell them your IP address is not "naughty". Yes, they take your word for it. Since I told then that my IP was "nice", their SMTP server has been polite, and I just sent myself a mail. You reported this experiment: Code:
354 End data with <CR><LF>.<CR><LF> Quote:
|
Hi Quigi,
Tks for your advice. Quote:
1) $ telnet a.mx.mail.yahoo.com 25 Code:
Trying 209.191.118.103... Code:
OrgName: Yahoo! 2) without "a.mx." $ telnet mail.yahoo.com 25 Code:
Trying 209.73.168.74... Code:
What is "a.mx."? Quote:
Code:
1. What is your name Sent myself a webmail as follow; $ telnet localhost 25 Code:
Trying 127.0.0.1... Others noted with Tks B.R. satimis |
Quote:
I suppose your advice sending mails is the backend. The front end software will be evolution, thunderbird, etc.? Tks. B.R. satimis |
Quote:
Quote:
Quote:
Quote:
But you may wonder how I got the name. Here's how: 1) You want to send mail to, say, "satimis@yahoo.com" 2) The mail domain is the part after the '@', i.e., "yahoo.com". 3) Find which hosts handle mail for that domain: Code:
host -t mx yahoo.com 5) To send mail, carry an SMTP dialog (port 25) with that host. Quote:
Quote:
|
Hi Quigi,
Quote:
I suppose my email address there is "satimis@satimis.homelinux.com". If I'm wrong please correct me. Performed another test as follow: $ telnet localhost 25 Code:
Trying 127.0.0.1... $ host -t mx writeme.com Code:
writeme.com mail is handled by 10 writeme-com.mr.outblaze.com. Code:
Trying 64.71.166.195... How to check whether port 25 is blocked by ISP? If YES how to by-pass this blockage? Tks. Quote:
Code:
1. What is your name Tks. B.R. satimis |
All times are GMT -5. The time now is 06:29 PM. |