#|ipnum||| -> smtp|ipnum|25|2
#||,smtps||465|2 -> smtp|0.0.0.0|25|2 + smtps||465|2
#|| -> smtp|0.0.0.0|25|2
-#Examples
-#SMTPPORTS="|127.127.10.25|1025|,smtps|127.127.10.25|1026|1"
+#Examples for test purpose
+#SMTPPORTS="|127.127.10.25|1025|,smtps|127.127.10.25|1465|1"
#SMTPPORTS="|127.127.10.25|1025|"
-#SMTPPORTS="smtps|127.127.10.25|1065|1"
-#Defaults
+#SMTPPORTS="smtps|127.127.10.25|1465|1"
+#Defaults (production)
SMTPPORTS="|||5,smtps||465|3,smtp||587|2"
#------------------------------------------------
#SSL Security level default value
--- /dev/null
+#very simple test to feed SMTP server
+#====================================================
+T:(feed30) Testing a simple email
+C:CONNECT
+R:220 mailleur.example.com, ESMTP (cleartext) mailleur...
+#====================================================
+S:HELO example.com
+R:250 mailleur.example.com, link (cleartext) ready,...
+S:MAIL FROM: <postmaster@example.com>
+R:250 2.1.3 postmaster@example.com sender ok
+S:RCPT TO: <root@example.com>
+R:250 2.6.4 Address accepted <root@example.com>
+S:RCPT TO: <jmp@example.com>
+R:250 2.6.4 Address accepted <jmp@example.com>
+#-------------------------------------------------------------------------
+#-sending data
+C:DATA 354 3.5.0 End data with <CR><LF>.<CR><LF>
+D:Subject: (feed030) Very Simple email contents
+C:T
+D:From: Maitre Post <postmaster@example.com>
+D:To: Big Master <root@example.com>
+D:
+D:this email is for local test purpose only
+D:and test log display
+D:
+C:.
+#-------------------------------------------------------------------------
+R:250-3.5.3 Session ID=<...
+R:250-3.5.3 data stream received:...
+R:250 3.5.3 Message accepted for delivery
+#-------------------------------------------------------------------------
+S:QUIT
+R:221 2.0.0 Bye, closing connection...
+#-------------------------------------------------------------------------
DFLT NOW(),
code SHORTTEXT, //action status (one char)
sessid TEXT, //Session id
- rcptto text, //Recipient status
+ smtpfrom TEXT, //SMTP Connection "MAIL FROM:"
+ rcptto TEXT, //SMTP Connection "RCPT TO:"
+ emailfrom TEXT, //email contents "From:"
+ subject TEXT, //email contents "Subject:"
numline INTEGER, //status line
info TEXT //line info
);