i’ve migrated my server from contabo to another region closer to me as the latency was pretty bad and now i’m having trouble.
i didn’t see the migration guide in the wiki but basically i copied the mailcow gitlab clone that i had with all files intact. then i stopped the containers and copied the volumes over then restored them on the new server.
i started up the new server and updated dns entries as the ip resolved to some contabo name.
now things appear to work and sogo and client email apps think they send mail but not appears on the other end. the logs in postfix seem to show that it worked too:
`
05/31/2022, 01:43:19 PM info statistics: max cache size 1 at May 31 13:39:59
05/31/2022, 01:43:19 PM info statistics: max connection count 1 for (submission:71.6.200.0) at May 31 13:39:59
05/31/2022, 01:43:19 PM info statistics: max connection rate 1/60s for (submission:71.6.200.0) at May 31 13:39:59
05/31/2022, 01:39:59 PM info disconnect from zx5.quadmetrics.com[71.6.200.0] ehlo=1 quit=1 commands=2
05/31/2022, 01:39:59 PM info connect from zx5.quadmetrics.com[71.6.200.0]
05/31/2022, 01:39:38 PM info 4838813C0326: removed
05/31/2022, 01:39:38 PM info 4838813C0326: to=myemailaddress@gmail.com, relay=gmail-smtp-in.l.google.com[142.250.0.0]:25, delay=39, delays=7.9/0.09/31/0.6, dsn=2.0.0, status=sent (250 2.0.0 OK 1654029578 b10-20020a63cf4a000000b003c1f456f0fcsi19562005pgj.879 - gsmtp)
05/31/2022, 01:39:37 PM info Trusted TLS connection established to gmail-smtp-in.l.google.com[142.250.0.0]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
05/31/2022, 01:39:37 PM info connect to gmail-smtp-in.l.google.com[2000:f000:2000:1000::1b]:25: Connection timed out
05/31/2022, 01:39:07 PM info 4838813C0326: to=myotheremailaddress@example.com, relay=dovecot[172.30.1.250]:24, delay=8, delays=7.9/0.05/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 myotheremailaddress@example.com +NyIFet8lmL7AwAAIMubpA Saved)
05/31/2022, 01:39:07 PM info 4838813C0326: from=mailcow@example.com, size=927, nrcpt=2 (queue active)
05/31/2022, 01:39:07 PM info disconnect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.30.1.248] ehlo=1 auth=1 mail=1 rcpt=2 data=1 quit=1 commands=7
05/31/2022, 01:39:05 PM info 4838813C0326: message-id=<3c-62967d00-3-63fca000@102722575>
05/31/2022, 01:39:05 PM info 4838813C0326: replace: header Received: from a1fc40f5c6f2 (mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network [172.30.1.248])??(Authenticated sender: mailcow@example.com)??by vm123456.contaboserver.net (Po from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.30.1.248]; from=mailcow@example.com to=myemailaddress@gmail.com proto=ESMTP helo=<a1fc40f5c6f2>: Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPA id 4838813C0326;??Tue, 31 May 2022 13:38:59 -0700 (PDT)
05/31/2022, 01:39:02 PM info 4838813C0326: client=mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.30.1.248], sasl_method=PLAIN, sasl_username=mailcow@example.com
05/31/2022, 01:38:59 PM info connect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.30.1.248]
05/31/2022, 01:38:27 PM info DISCONNECT [212.192.200.0]:62621
`