I have setup postfix and dovecot for my mail system, but i'm having a major problem sending and receiving mail as well as authentication on outgoing mail too. My email mx records have been setup and they are work fine as when i telnet mail.example.com 110 and i login with firstname.lastname@example.org
it works great also with 143 it worked great. When i try telnet mail.example.com 25 and try to send mail to my @gmail.com (only one i have tried at the moment) with RCPT TO the message appears "Relay access denied" then when i put my email email@example.com
has the RCPT TO the message "Recipient address rejected: User unknown in host recipient table". Finally i have setup my email client and it seems to login to incoming mail as the login does work through telnet, but the outgoing appears says "mail.example.com refused to allow a connection on the default ports" even through the ports are open and i can telnet into the port 25 apart from the messages above.
Any idea what could be the cause, if anyone wants the files i can post them through.