LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-02-2009, 11:53 AM   #1
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Rep: Reputation: 15
postfix can't send or receive mail?


I have my own postfix mail server on my computer with port forwading on my router in port 25 to 25 but I still can't send mail to other servers(comcast) or from mail servers. Can someone help me?
 
Old 08-02-2009, 11:54 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You could start with looking at the error messages in the log files.
 
Old 08-02-2009, 12:03 PM   #3
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
in ubuntu 9 where are the logfiles?
 
Old 08-02-2009, 12:04 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
/var/log/
 
Old 08-03-2009, 08:46 AM   #5
jdvail
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware
Posts: 8

Rep: Reputation: 1
your provider might be blocking smtp

You might try testing port 25 to see if your ISP is blocking SMTP connections. That seems to be becoming more common. I've had several providers that blocked traffic on TCP port 25. Try telneting on port 25 to a known mail host, and you should get a prompt. If you get a "connection failed" error message, you're most likely being blocked.

example of a successful connection:
user@system> telnet mail.yahoo.com 25
Trying 192.168.1.100 ...
Connected to mail.nowhere.com.
Escape character is '^]'.
220 mail.nowhere.com ESMTP Postfix
quit
221 Bye
Connection closed by foreign host.

example of an unsuccessful connection, if the ISP close the connection cleanly:
user@system> telnet mail.nowhere.com 25
Trying 192.168.1.100 ...
telnet: connect to address mail.nowhere.com: Connection refused

if your provider just blocks the connection and doesn't close it, you'll get something like:

user@system> telnet mail.nowhere.com 25
Trying 192.168.1.100 ...
telnet: connect to address mail.nowhere.com: Connection timed out
 
Old 08-27-2009, 04:17 PM   #6
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
It says the connection timed out but i can telnet my own server from the internet.
 
Old 08-28-2009, 07:44 AM   #7
jdvail
LQ Newbie
 
Registered: Sep 2008
Distribution: Slackware
Posts: 8

Rep: Reputation: 1
If your outbound connection attempt timed out, then that definitely points at your provider blocking outbound SMTP. I'd suggest that you call your provider and ask them if they are blocking outbound traffic on TCP port 25. Earthlink did this to me a number of years ago, and they simply turned it back on, but I've heard that doesn't always work these days. The providers claim they do this to help stop spamming from compromised hosts at people's homes, but I suspect that's an excuse, many of these providers won't open up the port unless you purchase "Business" service, or something like that, which is generally much more expensive.
 
Old 08-28-2009, 08:53 AM   #8
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
I did a live chat with comcast and they said they dind't block any ports. Do
I looked on the mail quoe ant his message was here:
Code:
	connect to mx4.comcast.net[76.96.26.14]:587: Connection refused
and other hosts like hotmail block me.
 
Old 08-28-2009, 09:27 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If you have a dyamic ip, most smtp servers will block you.
They will not accept connections from dynamic ip's.
 
Old 08-28-2009, 03:54 PM   #10
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
i think I have static. How do i check?
 
Old 08-28-2009, 04:49 PM   #11
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Try this link:
http://www.ipaddresslocation.org/
It should show you lots of information about your public IP. If still not sure mark your actual IP. Reboot your router and try the link again. If the IP is still the same you should be static.
Most of the ISP include into the My hostname the type of connection.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix (cant send or receive mail) madfed Linux - Server 45 08-07-2008 03:51 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
postfix can't receive mail; send OK ssfrstlstnm Linux - Server 4 04-24-2007 08:01 PM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Postfix able to send but not receive mail :( !! Ikik Linux - General 10 01-28-2004 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration