I setup a personal email server with postfix and dovecot and have one question and one problem
The question is about the incoming ports to open in firewall, the protocols enabled are smtp and imap and configured TLS/SSL, for imap should be only 993 and accepting only SSL connections but for smtp for sending and receiving, can I configure it to use only the 587 (now its open for submission) for receiving too ? If yes, how ?
the problem is that I'm able only to receive email from outside, I tried to send email to a gmail account and received the message:
The IP you're using to send 550-5.7.1 mail is not authorized to send email directly to our servers. Please 550-5.7.1 use the SMTP relay at your service provider instead. For more 550-5.7.1 information, go to 550 5.7.1 https://support.google.com/mail/?p=NotAuthorizedError
I tried to send email to another account and received the message:
postfix/smtp[13560]: connect to mxb-004ae901.gslb.pphosted.com[143.55.146.204]:25: Connection timed out
Jan 24 23:30:47 postfix/smtp[13560]: connect to mxa-004ae901.gslb.pphosted.com[143.55.149.110]:25: Connection timed out
Jan 24 23:30:47 postfix/smtp[13560]: 53C76FA14BC: to=<xxxxxx@xxxxxx>, relay=none, delay=61, delays=0.2/0/61/0, dsn=4.4.1, status=deferred (connect to mxa-004ae901.gslb.pphosted.com[143.55.149.110]:25: Connection timed out)
Where should I look to solve ?