mirror of
https://github.com/chatmail/relay.git
synced 2026-05-11 16:34:39 +00:00
Compare commits
1 Commits
fix-echobo
...
acmetool-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2cbf4e3e4 |
@@ -2,7 +2,6 @@ import pytest
|
||||
import threading
|
||||
import queue
|
||||
import socket
|
||||
import time
|
||||
|
||||
from chatmaild.config import read_config
|
||||
from cmdeploy.cmdeploy import main
|
||||
@@ -82,14 +81,7 @@ def test_concurrent_logins_same_account(
|
||||
assert login_results.get()
|
||||
|
||||
|
||||
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
|
||||
def test_no_vrfy(chatmail_config):
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
sock.connect((chatmail_config.mail_domain, 25))
|
||||
banner = sock.recv(1024)
|
||||
|
||||
Reference in New Issue
Block a user