#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
#-------------------------------------------------------------------------
#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...
#-------------------------------------------------------------------------