Post by IBM UserPost by Ralph FoxPost by Jesus QuintanaLooking for a way to filter by number of lines to kill posts with zero
lines like the attached.
See the filtering section in the help file for how to filter on number
of lines
Help >> Index >> Filters, Message Filters >> Agent's Expression Language >> Other Operators
But be warned. Many legitimate headers will appear to have zero lines,
Not very many. I have never seen a zero line post that was legit.
Hello, new poster "IBM User".
John's post in this thread showed 0 lines here before the body is
downloaded.
screen-shot: <
Loading Image...>
For filtering, what is important is the number of lines showing *before*
the body is downloaded. Filtering happens before the body is downloaded.
That is one of four posters in this thread showing 0 lines here at the
time filtering happens. IMO one cannot call that "not very many", and
certainly one cannot call it "never".
Agent will update/correct the number of lines when it downloads the body,
but that happens too late for filtering.
Post by IBM UserPost by Ralph Foxsimply because the news server has not put the actual number of lines
in the headers that are sent to Agent. It is your problem, not mine,
if your filter makes you lose legitimate posts this way.
When filtering happens, the body has not yet been downloaded and
Agent does not yet know the actual number of lines in the message.
Agent has to rely on whatever number the server has put in the
headers. Sometimes the actual number of lines is not put in the
headers.
--
Kind regards
Ralph Fox
🦊
Nothing most be done hastily but killing of fleas.