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 |
Quote:
What mail users you set up on your machine is up to you -- satimis or mickeymouse. Quote:
Quote:
What they want you to do is send all outgoing mail through their SMTP server -- you should have that information. This way, they can keep an eye on what mail you're sending, maybe to fight spam. /Quigi |
Hi Quigi,
found port 25 is not blocked by ISP http://www.grc.com/default.htm ShieldsUP! Port 25 Code:
GRC Port Authority Report created on UTC: 2006-11-27 at 09:24:50 Code:
---------------------------------------------------------------------- Code:
ii postfix 2.2.10-1ubuntu0.1 A high-performance mail transport agent Code:
ii courier-authdaemon 0.47-13ubuntu5.1 Courier Mail Server - Authentication daemon Firewall stopped during test. $ sudo /etc/init.d/firewall stop Password: Removing all iptables rules: [End of flush] There must be somethings else. Tks. B.R. satimis |
Quote:
ShieldsUP tested and confirmed that any computer can access port 25 on yours. (I.e., you can receive mail.) But the problem that you last talked about is that you cannot access port 25 on any computer. (I.e., you cannot send mail.) The one exception would presumably be an SMTP server designated by your ISP. You could check with your ISP what service you're actually buying. Or just comply and set up your mailer to use the ISP's relay. |
Hi Quigi,
I found something seemingly different on nmap. 1) $ sudo nmap -v satimis.linux.com Code:
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-11-27 22:43 HKT $ sudo nmap -p 25 satimis.homelinux.com Code:
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-11-27 22:45 HKT $ sudo nmap -P0 satimis.homelinux.com Code:
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-11-27 22:47 HKT Quote:
If port 25 is blocked, then I have to find some other solutions. Any suggestion? B.R. satims |
[QUOTE=satimis]I found something seemingly different on nmap.
3) $ sudo nmap -P0 satimis.homelinux.com Code:
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-11-27 22:47 HKT [/code] Both satimis.homelinux.com and n058152161053.netvigator.com resolve to 58.152.161.53. When you do a reverse lookup, you get the latter: Code:
$ host satimis.homelinux.com Quote:
|
All times are GMT -5. The time now is 10:11 AM. |