[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

small fix for smtpserver




Hi,
we are using a different router in certain situations.
The later version ignores smtpserver's -R flag
because the value of routerprog get lost...

this fix it 
=============================================================
--- subdaemons.c	Thu May 19 15:16:11 2005
+++ subdaemons.c.ori	Thu May 19 15:15:43 2005
@@ -116,8 +116,10 @@
 	      }
 	      /* exec here ??? */
 	      if (smtpserver)
+		/* PERT-LEO  execl(smtpserver, "smtpserver", "-I",
"sub-router",
+		      "-Z", zconf, NULL); */
 		execl(smtpserver, "smtpserver", "-I", "sub-router",
-		      "-Z", zconf, NULL);
+		      "-Z", zconf, routerprog ? "-R" : NULL, routerprog,
NULL);
 	      subdaemon_router(0);
 	      /* never reached */
 	    }

=================================================

regards
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi