* updated vi debconf translations, thanks to Clytie Siddall <clytie@riverland.net.au> * fixed typo in one template (that you would like, not that would you like), thanks as well to Clytie Siddall - unfuzzied all translations
cerr << "\t-l <list> Import messages to the named list\n";
82
100
cerr << "\t-c <config-file> Use this config file for lurker settings\n";
83
cerr << "\t-l <list> Import messages to the named list\n";
84
cerr << "\t-b <count> Import a batch of messages; flush every count messages\n";
101
cerr << "\t-m Input is a single message (not a mailbox)\n";
85
102
cerr << "\t-i <mbox/mdir> Read input from mbox or maildir instead of std input\n";
86
cerr << "\t-m Import a single message\n";
103
cerr << "\t-p <history> Prevent deleted messages in DB history from importing\n";
87
104
cerr << "\t-v Verbose operation\n";
88
105
cerr << "\t-d Drop duplicates per list\n";
89
106
cerr << "\t-n Don't compress messages\n";
90
107
cerr << "\t-u Trust the user Date header more than arrival time\n";
91
108
cerr << "\t-f Fast import (but vulnerable to power-failure)\n";
92
109
cerr << "\n";
93
cerr << "Index messages from standard input and store them in the lurker database.\n";
94
cerr << "Either import a single message, or import a batch of messages in mbox format.\n";
110
cerr << "Index messages and store them in the lurker database.\n";
95
111
cerr << "\n";
96
112
}
97
113
341
357
append.append(msg.c_str(), msg.length());
342
358
}
343
359
344
Index i(message, db.get(), *list, start, msg.length() + strlen(prefix));
360
Index i(message, db.get(), *list, blacklist,
361
start, msg.length() + strlen(prefix));
345
362
346
363
bool exist;
347
364
if (i.index(userdate, arrival, import, dropdup, exist) != 0)
428
445
// well, we gave it the benefit of the doubt, but ...
429
446
// this just don't look like a message break
430
447
431
cerr << "warning: treating '" << header << "' as part of a message because it does not have an @ in the username or a valid date." << endl;
448
cerr << "warning: treating '" << xmlEscape << header << "' (string is xml escaped) as part of a message because it does not have an @ in the username or a valid date." << endl;
432
449
// implicitly continue the loop
433
450
}
434
451
456
473
457
474
string::size_type eos;
458
475
/* Look for message boundaries only if:
459
* We are importing a batch of messsages
460
* We are NOT importing a file from a maildir
476
* We are importing from an mbox (not single, not maildir)