[Users] Filter->Condition: test for missing Date header?
Pierre Fortin
pf at pfortin.com
Mon Mar 24 16:18:57 UTC 2025
On Mon, 24 Mar 2025 12:16:14 -0400 Pierre Fortin via Users wrote:
>On Mon, 24 Mar 2025 15:38:51 +0100 wwp wrote:
>
>>Hello Pierre,
>>
>>
>>On Mon, 24 Mar 2025 08:39:24 -0400 Pierre Fortin via Users <users at lists.claws-mail.org> wrote:
>>
>>> Hi,
>>>
>>> Does anyone have a Filter Condition to test for a missing Date header?
>>>
>>> Asian spammers have tendency to send messages without a Date header which
>>> makes these messages appear as the oldest date and requiring scrolling to
>>> the other end of the message list to access/delete them.
>>>
>>> Just wanting to trash any messages not containing a Date header.
>>
>>~header "Date" regexpcase "."
>>
>>maybe? That would not cover non-valid (but still existing) date values.
>
>Thanks, missed trying that variant. Can't test right now... I clicked
>Trash on a couple of these messages; but now can't find them in the Trash
>folder.
>
>POP3S, no filter affects these messages, so they stay in the Inbox on
>receipt. However, I expected to find them in the Trash folder intending
>to use them to test; but nope...
>
>Two possible reasons:
>- No-date message is totally deleted on Trash click
>- No-date message has a Date header added upon Trashing
>Other?
Doh! This must've been deleted completely due to no-date being older
than my 30 retention period.
>The next time I get one of these messages, my current rule will only
>change its color as a test.
>
>Cheers,
>Pierre
>
>>Regards,
>>
>
More information about the Users
mailing list