Help, Mail server, mail gets blocked
I've been trying for 3 months to set up a mail server. I'm really desperate for this since i need this functionality for a couple of my sites that i host.
The server is at my home, with a few ports forwarded.
I recently followed the how to forge tutorial on a clean Ubuntu 7.10. I choose Postfix as my mail transfer agent, since Wikipedia claimed it was more bug free. As far I saw every daemon was working, except i couldn't send stuff. Every mail i tried to send to gmail(i used that primarily) was receiving a connection error.
I think it's one of 2 problems:
1. My ISP is blocking port 25, but i don't see why, since i disabled the firewall from my modem already. Good idea for that would be to switch ISPs.
2. My mail gets treated like spam. I have no idea what to do then.
Since my mail server didn't work i used google apps for your domain for a few email addresses. So i wonder if gmail could be used as a gateway for all my mail. In that case i need to know how to set PHP(the mail function) do that.
I don't know much about this area(mail transfer) but i usually learn fast. Thank you for all your help.