I hope someone here can help me.
Here's the situation. I've got a server at home that I run my personal websites on and am transitioning it to my business website server (Fedora 10). I want to be able to run my own email off of it. So far, I can connect to it with an email client (Thunderbird) and download new messages if there are any. I can telnet into it and send an email in this fashion:
[root@server1 /]# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 server1.mydomain.com ESMTP Postfix
250-AUTH LOGIN PLAIN
mail from: firstname.lastname@example.org
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
TEST TEST TEST
250 2.0.0 Ok: queued as DA2462654C
221 2.0.0 Bye
Connection closed by foreign host.
but if I change the "rcpt to" address to my domain name ("email@example.com") it looks as if everything is fine, I just never get the message.
Also, when I try to send from my gmail account, I get this:
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <firstname.lastname@example.org>: Relay access denied (state 14).
So, in short... I can connect just fine and download emails if they're there, but I can not send emails to an account @ my domain name from internally or externally. Oh, and I have the firewall in my router pointed accurately and the firewall in my server turned OFF.
I hope this makes sense and someone can help me. If I need to post any configs, please ask and I'll do them as soon as possible.