My VPS server not sending mails correctly [closed] - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Wednesday, June 15, 2022

My VPS server not sending mails correctly [closed]

  1. I have a VPS server.
  2. I have a website that's hosted on that VPS server.

Fortunately, my VPS server can receive mails correctly. Unfortunately, my VPS server can not send mails correctly. I've tried to send mails using the usermin/mail dashboard but when i send a mail i get the following mail which is sent from: MAILER-DAEMON@vps.server.local (Mail Delivery System)

and the mail is :

This is the mail system at host vps.server.local.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<mohammedalabrah@gmail.com>: host smtp.gamil.com[192.252.154.117] said: 530

Authorization required (#5.7.1)  (in reply to MAIL FROM command)

I also get this mail:

Reason for failure 530 Authorization required (#5.7.1)

I think my VPS server is not authenticated in order to send mails to gmail and outlook emails is that right?

I also made a test code inside my website to send mails:

 mail("fahdalabrah@gmail.com", "test Subject", "How are you?");

but it did not work out What should i do ?



source https://stackoverflow.com/questions/72621390/my-vps-server-not-sending-mails-correctly

No comments:

Post a Comment