Darwin-River / Ex-Machinis

Ex Machinis is a multiplayer space game in which players program fleets of remotely-piloted spacecraft to trade and manufacture goods and materials for profit.
4 stars 0 forks source link

Postfix backwards comparability warnings #119

Closed darozak closed 4 years ago

darozak commented 4 years ago

@freelancefrivas , I just reinstalled the ssl cert on exmachinis.com (production server) and everything worked well. However, as part of the process to re initiate the mail server with the new cert, I received the following backwards comparability warnings:

root@ExMachinis:/etc/apache2/sites-available# sudo service apache2 restart
root@ExMachinis:/etc/apache2/sites-available# service dovecot reload
root@ExMachinis:/etc/apache2/sites-available# service dovecot restart
root@ExMachinis:/etc/apache2/sites-available# postfix stop && postfix start
postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
postfix/postfix-script: stopping the Postfix mail system
postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-dns.so.1
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-tls.so.1
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-global.so.1
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-master.so.1
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./sbin/lmtp
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-util.so.1
postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/sbin/./lmtp
postfix/postfix-script: starting the Postfix mail system

Like I said, the website and mail server appear to be working fine. However, I didn't get these warnings when I applied the same process to the advolition.com development server.

Is this something that's easily fixed? Is it something we need to be concerned about?

freelancefrivas commented 4 years ago

For all I read, it's safe to ignore those warnings. I can update Postfix if you want though, and maybe they'll disappear...

darozak commented 4 years ago

Hi Fernando. Thanks for looking into this. That would be great if your could update Postfix when you have the time. No hurry. I hope all is well!

darozak commented 4 years ago

Hi @freelancefrivas, I'm very sorry to bother you again. However, the mail server appears to have stopped working since I last checked on it yesterday morning. A call to https://exmachinis.com/get-mails/JJy3CC9cUtzsbLsY generates the following error:

SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction (SQL: insert into `commands` (`code`, `agent_id`, `subject`, `email_content`, `updated_at`, `created_at`) values (2 4 + ., 53, ?, <run> 2 4 + . </run>, 2020-07-28 11:28:16, 2020-07-28 11:28:16))

Is it stuck on an email and is there a way to get it unstuck? Possibly by flushing the inbox?

darozak commented 4 years ago

Fernando, The mail server is back online! What did you do to fix it?

darozak commented 4 years ago

It looks as if this issue with the email getting stuck had occurred before. Carlos described the issue and temporary/permanent fixes here: https://github.com/Darwin-River/Ex-Machinis/issues/99

freelancefrivas commented 4 years ago

Hello David. Sorry but I've been super busy this week... so I didn't actually do anything. It must have happened on a moment of high traffic. I will see what can be done about that.

darozak commented 4 years ago

Thank you Fernando. These all appear to be minor problems. Overall, system has been running very smoothly.

freelancefrivas commented 4 years ago

I've been upgrading packages and after a reboot any connection seems to time out now. Can you try doing this? rest

darozak commented 4 years ago

Done. I had to reboot using the Power Cycle button. But the server is back online and I can login normally,

freelancefrivas commented 4 years ago

Phew! Good to know...

freelancefrivas commented 4 years ago

Well, it seems Postfix was upgraded to version 3.3 now... and I had to upgrade almost any other thing to do it.

darozak commented 4 years ago

Unfortunately, the site no longer responds to emails. Any thoughts on what might be wrong?

freelancefrivas commented 4 years ago

Ah, sorry. Didn't notice. It's working again now. I may have to update the README later...

darozak commented 4 years ago

Thanks Fernando! It's working perfectly. What do you need to updated in the README?

darozak commented 4 years ago

Also, It's not clear from your comments whether you attempted and/or managed to fix issue https://github.com/Darwin-River/Ex-Machinis/issues/99. Did you tackle this as well?

freelancefrivas commented 4 years ago

Sorry, been super busy. I updated the Postfix configuration details.

darozak commented 4 years ago

Thanks. I assume this is the commit: https://github.com/Darwin-River/Ex-Machinis/commit/72a0946c7a42d2bc261de4ebaf478723e812c931

freelancefrivas commented 4 years ago

I meant I updated it in the readme...