opencrm/plesktest/test_port_587smtp.sh

17 lines
400 B
Bash
Executable File

# Teste SMTP direkt vom Container
docker exec -it plesk-test bash -c '
echo "Teste Port 587..."
# Prüfe ob Port 587 hört
ss -tlnp | grep 587
# Prüfe Postfix master.cf
echo ""
echo "=== Submission Config ==="
grep -A 10 "^submission" /etc/postfix/master.cf
# Prüfe SASL
echo ""
echo "=== SASL Status ==="
ls -la /var/spool/postfix/private/auth 2>/dev/null || echo "Auth socket nicht gefunden"
'