Hi,
I can access my email accounts on mailinabox. However, when I go to my admin login it’s giving me the 502 Bad Gateway error. I really don’t want to to create another droplet on Digital Ocean and do a /home/user-data transfer. I greatly appreciate any help, thank you!
Things I tried already that didn’t solve the problem:
a) Restarting mailinabox (sudo service mailinabox restart)
b) Restarting ngnix (sudo service nginx restart)
c) Ran the mailinabox install script again
d) sudo ufw status | egrep “Status|80|443” (Allowed was everywhere)
Results from tail /var/log/nginx/error.log**
Results from tail /var/log/syslog**
root@box:~/mailinabox# tail /var/log/syslog
Jul 7 13:30:12 box kernel: [75273.489498] [UFW BLOCK] IN=eth0 OUT= MAC=04:01:de :80:ab:01:::::::08:00 SRC=188.246.234.60 DST=159.***.***.*** LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=13679 PROTO=TCP SPT=54327 DPT=5240 WINDOW=1024 RES =0x00 SYN URGP=0
Jul 7 13:31:14 box postfix/anvil[20664]: statistics: max connection rate 1/60s for (smtp:94.177.230.169) at Jul 7 13:27:53
Jul 7 13:31:14 box postfix/anvil[20664]: statistics: max connection count 1 for (smtp:94.177.230.169) at Jul 7 13:27:53
Jul 7 13:31:14 box postfix/anvil[20664]: statistics: max cache size 1 at Jul 7 13:27:53
Jul 7 13:31:34 box named[11532]: error (unexpected RCODE REFUSED) resolving ‘41 .243.229.223.in-addr.arpa/PTR/IN’: 202.56.230.5#53
Jul 7 13:31:35 box named[11532]: error (unexpected RCODE REFUSED) resolving ‘41 .243.229.223.in-addr.arpa/PTR/IN’: 202.56.230.6#53
Jul 7 13:31:35 box named[11532]: error (unexpected RCODE REFUSED) resolving ‘41 .243.229.223.in-addr.arpa/PTR/IN’: 202.56.230.5#53
Jul 7 13:31:35 box named[11532]: error (unexpected RCODE REFUSED) resolving ‘41 .243.229.223.in-addr.arpa/PTR/IN’: 202.56.230.6#53
Jul 7 13:31:38 box kernel: [75359.821810] [UFW BLOCK] IN=eth0 OUT= MAC=04:01:de :80:ab:01:3c:***:***:***:***:***:***:*** SRC=31.192.108.68 DST=159.***.***.*** LEN=40 T OS=0x00 PREC=0x00 TTL=239 ID=42147 PROTO=TCP SPT=56824 DPT=24018 WINDOW=1024 RES =0x00 SYN URGP=0
Jul 7 13:31:38 box kernel: [75360.070295] [UFW BLOCK] IN=eth0 OUT= MAC=04:01:de :80:ab:01:***:***:***:***:***:f0:08:00 SRC=185.208.208.198 DST=159.***.***.*** LEN=40 TOS=0x00 PREC=0x00 TTL=246 ID=6444 PROTO=TCP SPT=56411 DPT=15170 WINDOW=1024 RE S=0x00 SYN URGP=0