216 |
len = strlen(command); |
len = strlen(command); |
217 |
snprintf(command + len, BIG_COMMAND_MAX - len, " LARGER %d", |
snprintf(command + len, BIG_COMMAND_MAX - len, " LARGER %d", |
218 |
dlimit); |
dlimit); |
219 |
} |
} else |
220 |
|
if (!dfcnt) { /* If no DENY filters were defined, then |
|
if (!dfcnt) { /* If no DENY filters were defined, then |
|
221 |
deny all except the ALLOW filters. */ |
deny all except the ALLOW filters. */ |
222 |
len = strlen(command); |
len = strlen(command); |
223 |
snprintf(command + len, BIG_COMMAND_MAX - len, " ALL"); |
snprintf(command + len, BIG_COMMAND_MAX - len, " ALL"); |
224 |
} |
} |
225 |
|
|
226 |
allow_filters(command, "NOT"); |
allow_filters(command, "NOT"); |
227 |
|
|
244 |
allow_filters(command, "OR"); |
allow_filters(command, "OR"); |
245 |
|
|
246 |
len = strlen(command); |
len = strlen(command); |
247 |
snprintf(command + len, BIG_COMMAND_MAX - len, |
snprintf(command + len, BIG_COMMAND_MAX - len, " LARGER %d", alimit); |
248 |
" LARGER %d", alimit); |
|
|
|
|
249 |
len = strlen(command); |
len = strlen(command); |
250 |
snprintf(command + len, BIG_COMMAND_MAX - len, "\r\n"); |
snprintf(command + len, BIG_COMMAND_MAX - len, "\r\n"); |
251 |
|
|
299 |
|
|
300 |
len = strlen(command); |
len = strlen(command); |
301 |
snprintf(command + len, BIG_COMMAND_MAX - len, " %s%s%s \"%s\"", |
snprintf(command + len, BIG_COMMAND_MAX - len, " %s%s%s \"%s\"", |
302 |
(!strncmp(key, "NOT", 3) ? "NOT " : ""), |
(!strncmp(key, "NOT", 3) ? "NOT " : ""), |
303 |
custom_header(afilters[f]->custom), |
custom_header(afilters[f]->custom), |
304 |
afilters[f]->name, afilters[f]->body); |
afilters[f]->name, afilters[f]->body); |
305 |
} |
} |
306 |
} |
} |
307 |
|
|