LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-18-2009, 10:55 AM   #1
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Rep: Reputation: 15
Question Postfix can't send or recieve mail!


I am running Ubuntu 9.04 with dovecot and postfix and i have free service with www.dyndns.org and i would like to keep it free. My dyndns hostname is http://thebob.dyndns.ws and i can telnet it from localhost, internal ip
external ip, and internet hostname. I can telnet all mail ports. My ISP (comcast) does not block port 25. I can't email locally ( within my system) and i can't send or recieve email from other servers (like google). How do i get a mail.thebob.dyndns.ws domain? Why can't I send or recieve email? Please help me!!!!
 
Old 10-18-2009, 11:20 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Why can't you send mail? What's the error message?

Code:
alucard@karrde:~$ telnet thebob.dyndns.ws 25
Trying 67.189.63.35...
Connected to thebob.dyndns.ws.
Escape character is '^]'.
HELO karrde.kiserai.net
There's something on port 25, but it's not acting like a mail server. What's the output of (as root)
Code:
netstat -anp | grep :25
 
Old 10-18-2009, 04:30 PM   #3
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 9618/master
tcp 73 0 192.168.1.100:25 67.189.63.35:32849 CLOSE_WAIT -
tcp 28 0 192.168.1.100:25 207.192.69.151:49202 CLOSE_WAIT -
tcp 83 0 127.0.0.1:25 127.0.0.1:47036 CLOSE_WAIT -
tcp 19 0 192.168.1.100:25 207.192.69.151:49201 CLOSE_WAIT -
 
Old 10-18-2009, 04:40 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Ok, Postfix is listening.
 
Old 10-18-2009, 05:27 PM   #5
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
so... what do i do?
 
Old 10-18-2009, 05:42 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Why can't you send mail? What's the error message?
 
Old 10-18-2009, 09:02 PM   #7
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
ok i reinstalled postfix so now i can send email locally but not to comcast or other places.

here is the error code:

host mx2a.comcast.net[76.96.30.116] refused to talk to me: 554 IMTA24.emeryville.ca.mail.comcast.net comcast 67.189.63.35 Comcast blocked. Please see http://help.comcast.net/content/faq/ES000001
 
Old 10-18-2009, 09:36 PM   #8
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
As a Comcast residential customer, you can't send mail directly. Instead, use Comcast's SMTP server to send mail.

In main.cf:
Code:
relayhost = smtp.comcast.net
 
Old 10-18-2009, 10:44 PM   #9
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
then i get this:

<tboltswimmerbob@comcast.net>: host smtp.comcast.net[76.96.30.117] said: 550
5.1.0 <dylan@dylanserver> sender rejected : invalid sender domain (in reply
to MAIL FROM command)
 
Old 10-19-2009, 07:39 AM   #10
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
As it says, "dylanserver" is invalid.
 
Old 10-19-2009, 01:11 PM   #11
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Original Poster
Rep: Reputation: 15
how do i change it to a valid one?
 
Old 10-19-2009, 01:37 PM   #12
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Read the manual / google / etc. I'm happy to help, but not handhold. You've got to learn how to do it yourself.
 
Old 11-05-2009, 12:54 AM   #13
AnthonyP
LQ Newbie
 
Registered: Jan 2004
Location: North Cali, NA, Earth
Distribution: Ubuntu 9.x/OSX.6/BQ/CentOS
Posts: 1

Rep: Reputation: 0
I have to say, that was the most polite I've ever seen a hand off go.
Very nice
 
Old 09-07-2011, 11:36 PM   #14
jima2
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Here's a solution which worked for me:

http: //ubuntuforums.org/showpost.php?p=11229481&postcount=4

P.S. Rudeness seems to be pandemic...
 
  


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
send-recieve mail to remote locations ayush1440 Linux - Server 0 02-21-2008 08:21 AM
FC6 Postfix can recieve but not send fatum112 Linux - Server 9 04-20-2007 05:52 AM
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 01:35 PM
cant send recieve mail with postfix bentman78 Linux - Software 3 05-05-2004 09:12 AM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 08:54 AM

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

All times are GMT -5. The time now is 02:26 PM.

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