Deleted Added
full compact
ctm_dequeue.c (17131) ctm_dequeue.c (18110)
1/*
2 * Copyright (c) 1996, Gary J. Palmer
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Copyright (c) 1996, Gary J. Palmer
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $Id: ctm_dequeue.c,v 1.1 1996/07/01 20:53:55 gpalmer Exp $
29 * $Id: ctm_dequeue.c,v 1.2 1996/07/12 13:12:46 gpalmer Exp $
30 */
31
32/*
33 * Change this if you want to alter how many files it sends out by
34 * default
35 */
36
37#define DEFAULT_NUM 2

--- 160 unchanged lines hidden (view full) ---

198 * from the message contents.
199 */
200FILE *
201open_sendmail()
202{
203 FILE *fp;
204 char buf[100];
205
30 */
31
32/*
33 * Change this if you want to alter how many files it sends out by
34 * default
35 */
36
37#define DEFAULT_NUM 2

--- 160 unchanged lines hidden (view full) ---

198 * from the message contents.
199 */
200FILE *
201open_sendmail()
202{
203 FILE *fp;
204 char buf[100];
205
206 sprintf(buf, "%s -t", _PATH_SENDMAIL);
206 sprintf(buf, "%s -odq -t", _PATH_SENDMAIL);
207 if ((fp = popen(buf, "w")) == NULL)
208 err("cannot start sendmail");
209 return fp;
210}
211
212
213/*
214 * Close a pipe to sendmail. Sendmail will then do its bit.

--- 19 unchanged lines hidden ---
207 if ((fp = popen(buf, "w")) == NULL)
208 err("cannot start sendmail");
209 return fp;
210}
211
212
213/*
214 * Close a pipe to sendmail. Sendmail will then do its bit.

--- 19 unchanged lines hidden ---