For the sake of simplicity and because it is not a big deal, I will reveal to you my top secret domains that I am using and pointing to places (good places). Are you ready? It is going to blow your mind! The main domain is...
shiznatix.com (bet you would never have guessed it)
and
revolutsiooni.org (just some leftover domain from a drunken bet, means "Revolution Valley" in Estonian)
To start, it seams that I just can not telnet to another server via port 25. I have another mail server, mail.shiznatix.com but doing telnet mail.shiznatix.com 25 times out but when I do it at work (business connection, fancy stuff) I get through no problem. Maybe this is something or no?
For the rest of the stuff, here is the situation:
I have shiznatix.com on a dreamhost server but I want to get out of dreamhost and just host everything myself. To make sure I am ready for this I am using revolutsiooni.org as my test domain. I have changed the servers hostname to revolutsiooni.org and all the config files are using that domain so essentially, my home computer IS revolutsiooni.org.
DNS
I am using name.com for my domains so here is what I have as far as DNS records go:
Postfix Config
Here you can find the postfix main.cf and master.cf
http://www.shiznatix.com/postfix-conf-master.txt
http://www.shiznatix.com/postfix-conf-main.txt
Dovecot Config
Here you can find the Dovecot.conf file here
http://www.shiznatix.com/dovecot-conf.txt
WHAT WORKS
I am doing all my testing at work (not on the revolutsiooni.org server or even same internet connection). I have Thunderbird setup to connect to imap.revolutsiooni.org and outgoing to smtp.revolutsiooni.org. I can receive emails that are sent from outside to this server, such as gmail, etc. I can send emails to myself so my email account
test@revolutsiooni.org can send and receive emails from itself. It can also receive emails from outside.
WHAT DOES NOT WORK
I can not send emails to the outside using my own smtp server (smtp.revolutsiooni.org). If I change this to mail.shiznatix.com it works just fine, it just does not work for my server. When I send an email through smtp.revolutsiooni.org as my outgoing mail server, I get this kind of error and the email never gets delivered:
Oct 22 14:58:30 shiznatix-server postfix/smtpd[10876]: connect from unknown[88.196.158.74]
Oct 22 14:58:30 shiznatix-server postfix/smtpd[10876]: 7AC0E9C2A7: client=unknown[88.196.158.74], sasl_method=PLAIN, sasl_username=
test@revolutsiooni.org
Oct 22 14:58:30 shiznatix-server postfix/cleanup[10879]: 7AC0E9C2A7: message-id=<
4CC17D70.8060006@revolutsiooni.org>
Oct 22 14:58:30 shiznatix-server postfix/qmgr[10668]: 7AC0E9C2A7: from=<
test@revolutsiooni.org>, size=581, nrcpt=1 (queue active)
Oct 22 14:58:30 shiznatix-server postfix/smtpd[10876]: disconnect from unknown[88.196.158.74]
Oct 22 14:58:30 shiznatix-server postfix/smtp[10882]: connect to gmail-smtp-in.l.google.com[74.125.77.27]:25: No route to host
So, I hope this abundant amounts of information, for your viewing pleasure, is enough for someone to give me a hand with. I am not very good with all of this stuff since I never really had to run any of this on my own, I just used stupid GUIs provided by whoever was hosting the server.