--- queue-command.c 2001/01/20 13:42:01 1.1
+++ queue-command.c 2001/01/20 13:52:41 1.2
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/queue-command.c,v $
- $Revision: 1.1 $
+ $Revision: 1.2 $
Copyright (C) 2000 by Peter Simons <simons@computer.org>.
@@ -39,9 +39,8 @@
syslog(LOG_ERR, "Opening ack spool file \"%s\" failed: %s", buffer, strerror(errno));
exit(1);
}
- fprintf(fh, "#! /bin/sh\n");
- fprintf(fh, "\n");
- fprintf(fh, "%s --mode=listserv --approved <<[end-of-%s-marker]\n", who_am_i, cookie);
+ fprintf(fh, "#!/bin/sh\n");
+ fprintf(fh, "%s \\\n--masterconf=%s \\\n--mode=listserv --approved \\\n<<[end-of-%s-marker]\n", who_am_i, masterconfig_path, cookie);
fprintf(fh, "Sender: %s\n", mail->Envelope);
fprintf(fh, "From: %s\n", mail->From);
if (mail->Reply_To)
|