]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Improving feed command
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 6 May 2025 12:00:45 +0000 (08:00 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 6 May 2025 12:00:45 +0000 (08:00 -0400)
data-tst/feed00.tst

index f8aa8dde06e1999af2a8f846cea7169a9d336c61..cfb240719b2ffccb0ac089c553c324967f99a083 100644 (file)
@@ -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...
 #-------------------------------------------------------------------------