LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix can't send or recieve mail! (http://www.linuxquestions.org/questions/linux-server-73/postfix-cant-send-or-recieve-mail-762782/)

uiuiui172 10-18-2009 11:55 AM

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!!!!

AlucardZero 10-18-2009 12:20 PM

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

uiuiui172 10-18-2009 05:30 PM

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 -

AlucardZero 10-18-2009 05:40 PM

Ok, Postfix is listening.

uiuiui172 10-18-2009 06:27 PM

so... what do i do?

AlucardZero 10-18-2009 06:42 PM

Why can't you send mail? What's the error message?

uiuiui172 10-18-2009 10:02 PM

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

AlucardZero 10-18-2009 10:36 PM

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

uiuiui172 10-18-2009 11:44 PM

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)

AlucardZero 10-19-2009 08:39 AM

As it says, "dylanserver" is invalid.

uiuiui172 10-19-2009 02:11 PM

how do i change it to a valid one?

AlucardZero 10-19-2009 02:37 PM

Read the manual / google / etc. I'm happy to help, but not handhold. You've got to learn how to do it yourself.

AnthonyP 11-05-2009 01:54 AM

I have to say, that was the most polite I've ever seen a hand off go.
Very nice :)

jima2 09-08-2011 12:36 AM

Here's a solution which worked for me:

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

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


All times are GMT -5. The time now is 06:43 PM.