]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adjusting spec file
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 30 Jun 2025 04:34:22 +0000 (00:34 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 30 Jun 2025 04:34:22 +0000 (00:34 -0400)
data-feed/feedxx.tst [new file with mode: 0644]
lib/devsql.c
lib/geseml.c
mailleur.spec.in

diff --git a/data-feed/feedxx.tst b/data-feed/feedxx.tst
new file mode 100644 (file)
index 0000000..944f01c
--- /dev/null
@@ -0,0 +1,27 @@
+T:(feed02) Sending a very Simple Email to 2 domains
+R:220 mailleur.example.com, ESMTP (cleartext) mailleur...
+#====================================================
+S:HELO example.com
+R:250 mailleur.example.com, link (cleartext) ready,...
+S:MAIL FROM: <trouble@mailref1.example.com>
+R:250 2.1.3 trouble@mailref1.example.com.. sender ok
+S:RCPT TO: <user1@mardb.example.com>
+R:250 2.6.4 Address accepted <user1@mardb.example.com>
+#-------------------------------------------------------------------------
+#-sending data
+C:DATA 354 3.5.0 End data with <CR><LF>.<CR><LF>
+D:Subject: (feed02) Very Simple email contents 2 domains
+D:From: Maitre Post <postmaster@example.com>
+D:To: Maitre WEB <webmaster@example.com>
+D:
+D:.single dot, next is an empty line starting with a '.'
+D:.
+D:This email is sent to 3 domain X 1 users
+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...
index 42ac1a9fa86c335597d898a4d5cd5eb2f6417744..99fae2bc4c49a379e37fef9db0a3e3fbd2ee8d04 100644 (file)
@@ -840,7 +840,6 @@ if (act!=(ACTTYP *)0) {
   goodid=sql_gooddata(sqlptr,act->sessid);
   goodrcpt=sql_gooddata(sqlptr,act->rcptto);
   goodcode=sql_gooddata(sqlptr,strcode);
-  (void) rou_alert(0,"%s JMPDBG code='%c' rcptto=<%s>",OPEP,act->code,act->rcptto);
   if (act->resp!=(char **)0) {
     char *field;
 
index 15ff4961362f799d9cdbeeb8da1db465936f74b1..7a725c065bb94dedbfcbe95529a177ca88cd5b45 100644 (file)
@@ -645,7 +645,7 @@ locdom=(char *)0;
 phase=0;
 proceed=true;
 while (proceed==true) {
-  (void) rou_alert(0,"%s JMPDBG phase='%d'",OPEP,phase);
+  //(void) rou_alert(0,"%s JMPDBG phase='%d'",OPEP,phase);
   switch (phase) {
     case 0      :       //Extracting recipient email
       if ((tra!=(TRATYP *)0)&&(tra->rcptto!=(char *)0)&&(strlen(tra->rcptto)>0))
index 6a7cf81aac84d7ae294f7359d598a7d7d612f01d..dcd042399ce7cd58a90aa4f97e92f40c40b91a6e 100644 (file)
@@ -52,6 +52,7 @@ search about email exchange within time and transaction context.
 %attr(0754,root,root) %{_libdir}/%{name}/support/starting.sh
 %attr(0750,%{name},mail) %{_libdir}/%{name}/support/mailleur-reset-db.sh
 %attr(0750,%{name},mail) %{_libdir}/%{name}/support/mailleur-settest-db.sh
+%attr(0755,%{name},mail) %dir %{spooldir}/%{name}
 %attr(0755,%{name},mail) %dir %{spooldir}/%{name}/queue
 %attr(0750,%{name},mail) %dir %{spooldir}/%{name}/mails
 %attr(0640,root,root) %{_datadir}/%{name}/sql/Makefile