fixes for mbfido news
This commit is contained in:
parent
3e2f009cb3
commit
c07e6d4fe0
@ -17,6 +17,10 @@ v0.51.4 11-Apr-2004
|
|||||||
Added loging of virus scanner results.
|
Added loging of virus scanner results.
|
||||||
When a new echomail area is auto created, the creation date and
|
When a new echomail area is auto created, the creation date and
|
||||||
the newsgroup name will be set.
|
the newsgroup name will be set.
|
||||||
|
Fixed news command, only real newsgroup areas are fetched from
|
||||||
|
the remote newsserver.
|
||||||
|
You may need to edit or remove /opt/mbse/tmp/newsout to remove
|
||||||
|
postings for the remote newsserver with echomail messages.
|
||||||
|
|
||||||
mbnntp:
|
mbnntp:
|
||||||
New program, news server to read echomail with a news client.
|
New program, news server to read echomail with a news client.
|
||||||
|
@ -282,7 +282,7 @@ void ScanFull()
|
|||||||
if (Link.aka.zone)
|
if (Link.aka.zone)
|
||||||
ExportEcho(Link, Number, &sbl);
|
ExportEcho(Link, Number, &sbl);
|
||||||
}
|
}
|
||||||
if (strlen(msgs.Newsgroup))
|
if (strlen(msgs.Newsgroup) && (msgs.Type == NEWS))
|
||||||
ExportNews(Number, &sbl);
|
ExportNews(Number, &sbl);
|
||||||
|
|
||||||
tidy_falist(&sbl);
|
tidy_falist(&sbl);
|
||||||
@ -439,7 +439,7 @@ void ScanOne(char *path, unsigned long MsgNum)
|
|||||||
ExportEcho(Link, MsgNum, &sbl);
|
ExportEcho(Link, MsgNum, &sbl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (strlen(msgs.Newsgroup))
|
if (strlen(msgs.Newsgroup) && (msgs.Type == NEWS))
|
||||||
ExportNews(MsgNum, &sbl);
|
ExportNews(MsgNum, &sbl);
|
||||||
|
|
||||||
tidy_falist(&sbl);
|
tidy_falist(&sbl);
|
||||||
|
@ -205,7 +205,7 @@ void ScanNews(void)
|
|||||||
|
|
||||||
while (fread(&Msgs, Msgshdr.recsize, 1, pAreas) == 1) {
|
while (fread(&Msgs, Msgshdr.recsize, 1, pAreas) == 1) {
|
||||||
fseek(pAreas, Msgshdr.syssize, SEEK_CUR);
|
fseek(pAreas, Msgshdr.syssize, SEEK_CUR);
|
||||||
if ((Msgs.Active) && strlen(Msgs.Newsgroup)) {
|
if ((Msgs.Active) && strlen(Msgs.Newsgroup) && (msgs.Type == NEWS)) {
|
||||||
if (IsSema((char *)"upsalarm")) {
|
if (IsSema((char *)"upsalarm")) {
|
||||||
Syslog('+', "Detected upsalarm semafore, aborting newsscan");
|
Syslog('+', "Detected upsalarm semafore, aborting newsscan");
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user