From 2b4651b3546053c71d5566ab2f8b943a43de2354 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Jul 1998 17:48:01 +0000 Subject: Can specify multiple spam-blocks now. svn path=/trunk/; revision=1997 --- conf.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 7a4b7b4b..b98ac1d0 100644 --- a/conf.c +++ b/conf.c @@ -270,7 +270,14 @@ void dump_config(struct runctl *runp, struct query *querylist) numdump("expunge", ctl->expunge); listdump("smtphunt", ctl->smtphunt); stringdump("smtpaddress", ctl->smtpaddress); - numdump("antispam", ctl->antispam); + fprintf(stdout, "'antispam':["); + for (idp = ctl->antispam; idp; idp = idp->next) + { + fprintf(stdout, "%d", idp->val.status.num); + if (idp->next) + fputs(", ", stdout); + } + fputs("],\n", stdout); listdump("mailboxes", ctl->mailboxes); indent('}'); -- cgit v1.2.3