(05-25-2015, 03:36 PM)Sonichaos Wrote: Sorry for my beginner's english. I just want to help. I was having the same problem on using SMTP from outside and after a long time of investigation and testing i discovered that my internet provider was blocking my port 25. The effective solution was change the SMTP port from my server editing the master.cf file on \etc\postfix\
Just search the next line:
Code:smtp inet n - n - - smtpd
And just bottom add this line:
Code:587 inet n - n - - smtpd
And restart postfix service. Now your SMTP port is 587 and if it was a problem with the port 25 blocking it should work.
Hello,
I did it, but still doesn't work.
look my logs....
Jun 2 23:28:13 www2 postfix/smtpd[7186]: connect from 201-2-217-102.bnut3702.ds l.brasiltelecom.net.br[201.2.217.102]
Jun 2 23:28:14 www2 postfix/smtpd[7186]: 5AFF912144C: client=201-2-217-102.bnut 3702.dsl.brasiltelecom.net.br[201.2.217.102], sasl_method=PLAIN, sasl_username=l ucas@MYDOMAIN.com.br
Jun 2 23:28:15 www2 postfix/cleanup[7189]: 5AFF912144C: message-id=<556E6636.50 604@MYDOMAIN.com.br>
Jun 2 23:28:15 www2 postfix/qmgr[7101]: 5AFF912144C: from=<lucas@MYDOMAIN.com.br >, size=653, nrcpt=1 (queue active)
Jun 2 23:28:15 www2 postfix/smtpd[7186]: disconnect from 201-2-217-102.bnut3702 .dsl.brasiltelecom.net.br[201.2.217.102]
Jun 2 23:28:26 www2 postfix/qmgr[7101]: 3BAB1121487: from=<>, size=2939, nrcpt= 1 (queue active)
Jun 2 23:28:26 www2 postfix/smtp[7192]: 3BAB1121487: to=<www-data@www2.MYDOMAIN. com.br>, relay=none, delay=432971, delays=432971/0.01/0.53/0, dsn=4.4.4, status= SOFTBOUNCE (Host or domain name not found. Name service error for name=www2.MYDOMAIN.com.br type=AAAA: Host not found)
Jun 2 23:28:26 www2 postfix/qmgr[7101]: 3BAB1121487: from=<>, status=expired, r eturned to sender
Jun 2 23:28:26 www2 postfix/qmgr[7101]: 3BAB1121487: removed
Jun 2 23:28:45 www2 postfix/smtp[7137]: connect to gmail-smtp-in.l.google.com[1 73.194.206.26]:25: Connection timed out
Jun 2 23:28:45 www2 postfix/smtp[7137]: connect to gmail-smtp-in.l.google.com[2 607:f8b0:400d:c03::1a]:25: Network is unreachable
Jun 2 23:29:15 www2 postfix/smtp[7137]: connect to alt1.gmail-smtp-in.l.google.com[64.233.186.26]:25: Connection timed out
Jun 2 23:29:15 www2 postfix/smtp[7137]: connect to alt1.gmail-smtp-in.l.google.com[2800:3f0:4003:c00::1b]:25: Network is unreachable
Jun 2 23:29:45 www2 postfix/smtp[7137]: connect to alt2.gmail-smtp-in.l.google.com[74.125.24.27]:25: Connection timed out
Jun 2 23:29:45 www2 postfix/smtp[7137]: 5AFF912144C: to=<MYEMAIL@gmail.com>, relay=none, delay=92, delays=0.91/0/91/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[74.125.24.27]:25: Connection timed out)