Compare commits

...

5 Commits

Author SHA1 Message Date
missytake
c541447f9b CI: wait with VRFY test until echobot is logged in 2024-05-02 16:21:08 +02:00
missytake
aed3803d17 wait a minute with tests to avoid VRFY creating echo@ 2024-05-02 15:27:57 +02:00
missytake
9787a43902 echo: re-enable test 2024-05-02 13:49:09 +02:00
missytake
e525d36899 changelog for #276 2024-05-02 13:48:38 +02:00
missytake
6bbb5e07e5 echo: skip test as long as it's broken 2024-05-02 13:33:11 +02:00
2 changed files with 12 additions and 1 deletions

View File

@@ -2,6 +2,9 @@
## untagged
- Accept Let's Encrypt's new Terms of Services
([#275](https://github.com/deltachat/chatmail/pull/276))
- Reload Dovecot and Postfix when TLS certificate updates
([#271](https://github.com/deltachat/chatmail/pull/271))

View File

@@ -2,6 +2,7 @@ import pytest
import threading
import queue
import socket
import time
from chatmaild.config import read_config
from cmdeploy.cmdeploy import main
@@ -81,7 +82,14 @@ def test_concurrent_logins_same_account(
assert login_results.get()
def test_no_vrfy(chatmail_config):
def test_no_vrfy(chatmail_config, remote):
found = False
while not found:
for line in remote.iter_output(logcmd="journalctl -u echobot"):
print(line)
if "successfully logged into imap server" in line:
found = True
break
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((chatmail_config.mail_domain, 25))
banner = sock.recv(1024)