On Thu, 27 Sep 2007, x x wrote:
> For the email, I'm just trying to do stuff like dmesg | mail -s "Hey"
> [EMAIL PROTECTED], or just simple emails to say hi to someone. My ISP
> said something like Thunderbird uses port 25 for inbound/outbound
> traffic, but if I use port 25 through telnet or something it is not
> supported or it is blocked. So what do I do for it, how do I use it?
Some tests...
$ ping someplace.notisp.com
If the ping succeeds,
$ telnet someplace.notisp.com 25
If your connection is being blocked by your ISP, you will see
this:
[EMAIL PROTECTED] djv 0:186]$ telnet someplace.notisp.com 25
Trying 192.74.74.1...
telnet: connect to address 192.74.74.1: No route to host
If the network is not being blocked, you will see something like
this:
... if the host is not listening on 25:
[EMAIL PROTECTED] djv 0:187]$ telnet rachel.chuck 25
Trying 192.168.1.110...
telnet: connect to address 192.168.1.110: Connection refused
[EMAIL PROTECTED] djv 0:188]$
... if the host is listening on 25:
... if the host is running sendmail:
[EMAIL PROTECTED] djv 0:189]$ telnet pequod.chuck 25
Trying ::1...
Connected to pequod.chuck.
Escape character is '^]'.
220 pequod.chuck ESMTP Sendmail 8.14.0/8.14.0; Fri, 28 Sep 2007 06:52:15 -0400
(EDT)
... if the host is running postfix:
[EMAIL PROTECTED] djv 0:190]$ telnet mail.myisp.net 25
Trying 201.11.40.65...
Connected to mail.myisp.net.
Escape character is '^]'.
220 md5.myisp.net ESMTP Postfix
type QUIT to quit connections to sendmail or postfix.
We have not sent any mail yet, just tested connections.
Wait for the commands to finish. It may be few minutes before
they succeed or fail.
Use your own targets, though. yahoo.com is usually up and usually
accepts connections to port 25.
I suspect at this point that you need to configure sendmail
to use a "SMART_RELAY" at your ISP, and that you have already
configured Thunderbird to do this, perhaps long ago. I suspect this
because a straight installation of OpenBSD leads to this situation,
no mail to remote hosts, even other hosts on the same LAN.
The port 25 is always on the *recipient's* end of the email.
Dave
--
Dude, Dave's not here!
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies