| 6 |
details. |
details. |
| 7 |
|
|
| 8 |
Remailer statistics |
Remailer statistics |
| 9 |
$Id: stats.c,v 1.7 2002/08/18 06:08:27 weaselp Exp $ */ |
$Id: stats.c,v 1.8 2002/08/20 18:46:33 rabbi Exp $ */ |
| 10 |
|
|
| 11 |
|
|
| 12 |
#include "mix3.h" |
#include "mix3.h" |
| 242 |
if (SIZELIMIT) |
if (SIZELIMIT) |
| 243 |
buf_appendf(out, "Maximum message size: %d kB\n", SIZELIMIT); |
buf_appendf(out, "Maximum message size: %d kB\n", SIZELIMIT); |
| 244 |
|
|
| 245 |
/* read in dest.alw if middleman (added by Kat 11/19/2001) */ |
/* display destinations to which delivery is explicitly permitted |
| 246 |
|
when in middleman mode (contents of DESTALLOWf file.) */ |
| 247 |
|
|
| 248 |
if (MIDDLEMAN) { |
if (MIDDLEMAN) { |
| 249 |
f = mix_openfile(DESTALLOW, "r"); |
f = mix_openfile(DESTALLOW, "r"); |
| 250 |
if (f != NULL) { |
if (f != NULL) { |
| 253 |
while(buf_getline(b, line) != -1) { |
while(buf_getline(b, line) != -1) { |
| 254 |
if (line->length > 0 && line->data[0] != '#') { |
if (line->length > 0 && line->data[0] != '#') { |
| 255 |
if (flag == 0) { |
if (flag == 0) { |
| 256 |
buf_appends(out, "In addition to other remailers, this Mixmaster also sends mail to these\n addresses directly:\n"); |
buf_appends(out, "In addition to other remailers, this remailer also sends mail to these\n addresses directly:\n"); |
| 257 |
flag = 1; |
flag = 1; |
| 258 |
} |
} |
| 259 |
buf_appendf(out, " %b\n", line); |
buf_appendf(out, " %b\n", line); |