[Alpine-info] Filter patterns and whitespace

Joshua Miller via Alpine-info alpine-info at u.washington.edu
Fri Jul 18 07:55:32 PDT 2025


On Fri, Jul 18, 2025 at 4:49 AM Ferdinand Goldmann via Alpine-info <
alpine-info at u.washington.edu> wrote:


> On Wed, 16 Jul 2025, Joshua Miller wrote:

>

> > Can you share the relevant lines from your .pinerc? FWIW, I have rules

> that match on FROM that include a space and

> > they work. For example:

> > LIT:pattern="/NICK=tt/FROM=TT SYSTEM <redacted at redacted.com

> >/...etc...

>

> That's odd... I have this pattern:

>

> LIT:pattern="/NICK=

> pop.liwest.at/FROM=pop.liwest.at/FLDTYPE=SPEC/FOLDER=INBOX"

> action="/FILTER=1/FOLDER=\/home\/ferdl\/mail\/000_JUNK/NOKILL=1"

>

> and it fails to detect this from line:

>

> From: Sleep Apnea NEW at pop.liwest.at

>

> :-/

>

>

FWIW, I don't see anything wrong with that pattern. I even had alpine
create a new .pinerc and added a new rule and it looks pretty much the same:

patterns-filters2=LIT:pattern="/NICK=test/FROM=
pop.liwest.at/FLDTYPE=SPEC/FOLDER=INBOX"
action="/FILTER=1/FOLDER=\/home\/unrtst\/mail\/000_JUNK/NOKILL=1"

I'm guessing there's something else causing this. Can you provide some more
context and info?

Have you looked in the "000_JUNK" file to confirm it didn't get copied
there? FYI, the filter should create the message in the new folder and flag
the one in INBOX to be deleted, but it won't be expunged (fully deleted)
until you call expunge or cleanly exit alpine.

Can you provide the full line from your .pinerc (IE: maybe there's a syntax
quirk elsewhere on the line)? What exact steps do you take to run the
filter? Can you provide the alpine debug log? Can you provide a copy of the
spam message (maybe there's something weird with the headers)?

Sorry for all the questions, but I don't see anything wrong with what was
provided.

Thanks,
--
Josh I.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman23.u.washington.edu/pipermail/alpine-info/attachments/20250718/dc8ca90a/attachment.html>


More information about the Alpine-info mailing list