ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.19 -> 1.20
--- lmtp2nntp.c 2001/08/20 10:33:22 1.19
+++ lmtp2nntp.c 2001/08/20 14:11:30 1.20
@@ -156,7 +156,7 @@
initsession(&ctx->session);
ctx->msg = NULL;
-#if 0
+#if 1
{
char buf[1000];
int bufused = 0;
@@ -648,7 +648,7 @@
if (ctx->option_groupmode == GROUPMODE_ENVELOPE) {
//fprintf(stderr, "DEBUG: before transform cp=***%s***\n", cp);
- if (!str_parse(cp, "m/^.+?\\+(.+)?@.+$/i", &group)) { //FIXME >=2 * @
+ if (!str_parse(cp, "m/^<(.+)?@[^@]+>$/i", &group)) {
res.statuscode = "550";
res.dsncode = "5.1.1";
res.statusmsg = "Recipient did not transform into Group.";
|
|