I have an older Laravel 5.7 project handed to me. Laravel's current version is 8. I don't know if these details are relevant to my problem, but I'm adding them anyway. I have a test server running off an IP address (no domain) for the clients to see the progress as I push new features to GitHub. This GitHub project is set as private and the server is properly configured to only show the public folder. The private repo also does not have a hard coded .env
file, so even if someone was to get into my GitHub, he would not be able to get any real information from the .env
file, as it is blank and is configured directly on the server.
To my main issue. I am using Mailtrap for testing purposes and I keep getting unauthorized mail like this:
I have tried deleting my Mailtrap mailbox and recreating it to get new credentials, but some random script kiddie always happens to crack the SMTP server. At the moment, since my SMTP is connected to Mailtrap, this is harmless. But when I get the real website online, I'm worried about how these crackers are doing this.
Any ideas?