I am using ./swaks --auth command to send an email from the server just to try and it says MX routing is not available so it uses my localhost as mail server.

It connects to localhost, but then this happens :

Remote host closed connection unexpectedly.

Do you have any idea?

#mastodon #instance #swaks #needhelp #centos7 #smtp #mailserver

https://stegodon.me/media/kchBMZYPLRD21KqhSzU

@PorFavorDama Easy method: Register an account on mailgun.com, edit your .env file and configure mailgun.com as smtp server, have fun sending emails.
@PorFavorDama what is running on localhost? Is this something you have configured to relay outbound mail? Or are you supposed to use another SMTP server? Also, check mail log for the localhost

@saper web server also where I run my instance. I suppose I changed MX records and if this is not gonna fix it then I may try something else. I will check logs and tell ya when I am back :)

Just I gotta go for a while. I need to eat haha. Thank you!

@PorFavorDama postfix is proven in battle. I wonder what went wrong, bad package dependencies?

@saper

I think I've just followed a bad guide on here

https://www.digitalocean.com/community/tutorials/how-to-install-postfix-on-centos-6

Since this doesn't tell much about postfix