I have installed and configured an email client SquirrelMail
, I have also installed Postfix
and Dovecot
and also Apache
( because my app is running on Nginx
, i had to put the apache on port 81
) , and I have configured them.
but I can only send and/or receive emails internally, from my user@mydomain.com to usertwo@mydomain.com
I can not receive or send any email to an external server like google and such
for example, when I try to send email to google from SquirrelMail
, I get
Message not sent. Server replied:
Temporary authentication failure
454 4.7.1 <arash.internet@gmail.com>: Relay access denied
and when I try to send email from Gmail
to myuser@mydomain.com, The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [mail.shianchi.com. 45.82.138.110: FAILED_PRECONDITION: connect error (111): Connection refused] [mail2.shianchi.com. 45.82.138.110: FAILED_PRECONDITION: connect error (111): Connection refused] , but I don't see any email in that user inbox in which I sent the email to.
it has frustrated me, I don't know what to do please someone help me :( thank you beforehand