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[126.96.36.199]:25: No route to host
Jun 12 10:28:26 techcity postfix/smtp: connect to alt3.gmail-smtp-in.l.google.com[188.8.131.52]:25: No route to host
Jun 12 10:28:27 techcity postfix/smtp: connect to alt4.gmail-smtp-in.l.google.com[184.108.40.206]:25: No route to host
Thanks in advance.