I was able to run the imap server on a dedicated external ubuntu machine.
The goal of this issue has changed somewhat. Now that we have an external SMTP/IMAP running elsewhere, the app only needs to connect to it (during local dev cycle or during CI) to run tests.
- add this to /etc/hosts
# flowcrypt-ios SMTP/IMAP server for CI
217.163.30.119 mail
-
try that you can connect cd docker-mailserver/ && ./check_email_server.sh
-
add IMAP user credentials to secrets file
-
separate tests in to Gmail tests and IMAP tests. IMAP tests will connect to mail:10025 and mail:10143 (non-TLS) SMTP/IMAP server during setup, and log in with one of the accounts from the secrets file, during tests
Originally posted by @tomholub in #307 (comment)
I was able to run the imap server on a dedicated external ubuntu machine.
The goal of this issue has changed somewhat. Now that we have an external SMTP/IMAP running elsewhere, the app only needs to connect to it (during local dev cycle or during CI) to run tests.
try that you can connect
cd docker-mailserver/ && ./check_email_server.shadd IMAP user credentials to secrets file
separate tests in to Gmail tests and IMAP tests. IMAP tests will connect to
mail:10025andmail:10143(non-TLS) SMTP/IMAP server during setup, and log in with one of the accounts from the secrets file, during testsOriginally posted by @tomholub in #307 (comment)