From 383f0733cdef9bbc6592efd9151a705e508177b0 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Tue, 6 May 2025 08:00:45 -0400 Subject: [PATCH] Improving feed command --- data-tst/feed00.tst | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/data-tst/feed00.tst b/data-tst/feed00.tst index f8aa8dd..cfb2407 100644 --- a/data-tst/feed00.tst +++ b/data-tst/feed00.tst @@ -1,19 +1,35 @@ #basic test to feed SMTP server -#Please update /etc/hosts with -#127.127.10.25 emlrcvr -##to have proper reverss-address within test +#==================================================== +# Test language available # # comment # C: command to execute # GOTLS - Going in TLS mode # SLEEP X - Stop for X seconds +# RESTART - Restart connection with remote +# COMMENT START - START commenting mode +# COMMENT STOP - STOP commenting mode # R: incoming data # S: outgoing data # T: Test titre or Info +C:COMMENT START +#==================================================== +#Please update /etc/hosts with +#---------------------------------------------------- +#Definition to validate mailleur daemon (emlrcvr) server +#The test serveur itself +127.127.10.25 mailleur.example.com mailleur +#remote access +#127.168.0.1 no reverss detection +127.168.10.1 foreign1.badserver.tld foreign1 +#---------------------------------------------------- +#==================================================== +C:COMMENT STOP +#==================================================== +#starting test T:basic test function R:220 mailleur.example.com ESMTP (cleartext) emlrcvr... S:EHLO example.com -#R:250-mailleur.example.com, link (cleartext) ready, your IP/FQDN=[127.0.0.1/localhost.localdomain] -R:250-mailleur.example.com, link (cleartext) ready, your IP/FQDN... +R:250-mailleur.example.com, link (cleartext) ready, your IP/FQDN=[127.0.0.1/localhost.localdomain] R:250-SIZE 52428800 R:250-STARTTLS R:250-8BITMIME @@ -39,14 +55,14 @@ R:Disconnected #------------------------------------------------------------------------- #prepare next test #waiting 1 sec -W:1 +C:WAIT 1 #-restarting link -L:first restart link +C:RESTART R:220 mailleur.example.com ESMTP (cleartext) emlrcvr... S:ORGN 127.168.0.1 R:250 2.9.9 New peer [127.168.0.1/No.Reverse] set -S:ORGN 192.219.254.203 -R:250 2.9.9 New peer [192.219.254.203/mailprod0.safe.ca] set +S:ORGN 127.168.10.1 +R:250 2.9.9 New peer [127.168.10.1/foreign1.badserver.tld] set S:QUIT R:221 2.0.0 Bye, closing connection... #------------------------------------------------------------------------- -- 2.47.3