Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8264  / 1 Year ago, wed, may 17, 2023, 2:13:17

I gotten a VPS recently and I wanted to host my own websites and with that, the ability to send and receive mail.



I set up my mail server according to this guide: https://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot-mysql/



And it worked: I can access the SMTP with STARTTSL and IMAP server with authentication, all on standard port.



But now my Postfix turned into a spam server (currently it has 200+ mails queued up) and I was forced to turn it down. Also it always got all the MySQL connections, and websites couldn't connect to it.



How can I fix my Postfix?




More From » mysql

 Answers
0

seems like my server wasn't compromised it just my settings allowed anyone to connect to it, and use it without authentication.



in my main.cf I changed the mynetworks = 0.0.0.0/0 [::/0] to mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 and removed the permit from smtpd_client_restrictions



after i cleared the queue and started the server none of the problems i experienced seems to appear again.


[#28239] Thursday, May 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
;