I'm on Debian Wheezy and I've now managed to be able to receive emails and I'm also able to send emails using gmail as SMTP relay. However I'm not able to send emails directly through my debian machine. I know my ISP blocks the outgoing SMTP port but I wonder what do I need to do in order to be able to send emails from my domain?
I've read many guides here and on google about adding the submission port on postfix but following the perfect server debian wheezy with apache2, I already have the submission port entry inside master.cf. Infact that file is untouched apart from removing the comments as instructed in the guide. Am I supposed to add my domain with some port suffix somewhere as well?
I'm using postFix and dovecot.
My router also has all entries for allowing port 25,465 and 587 both in and out.
Here are the errors I get when I try to send an email without relayhost:
Jun 12 10:28:25 techcity postfix/smtp: connect to alt2.gmail-smtp-in.l.google.com[220.127.116.11]:25: No route to host
Jun 12 10:28:26 techcity postfix/smtp: connect to alt3.gmail-smtp-in.l.google.com[18.104.22.168]:25: No route to host
Jun 12 10:28:27 techcity postfix/smtp: connect to alt4.gmail-smtp-in.l.google.com[22.214.171.124]:25: No route to host
Thanks in advance.