[Alpine-info] Filter patterns and whitespace

Ferdinand Goldmann via Alpine-info alpine-info at u.washington.edu
Fri Jul 18 01:49:42 PDT 2025


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


:-/



>

>

>

> On Wed, Jul 16, 2025 at 9:31 AM Ferdinand Goldmann via Alpine-info <alpine-info at u.washington.edu> wrote:

> Hi,

>

> wanted to filter out annoying spam mails using a filter rule on the domain of

> the spam sender. The spam mails From fields all have the format of

>

> From: Annoying Sender at foo.host.com

>

> where the "@foo.host.com" part is always the same.

>

> It turns out that a rule filtering for foo.host.com does not work. I assume the

> problem is the single blank/whitespace between "Annoying" and "Sender".

>

> Is there any possibility to filter such mails? Or should I rather ask the spam

> senders to politely use a valid RfC compliant format for their From addresses? :-)

>

> Regards

> Ferdinand_______________________________________________

> Alpine-info mailing list

> Alpine-info at u.washington.edu

> http://mailman23.u.washington.edu/mailman/listinfo/alpine-info

>

>

>


--
Ferdinand Goldmann
System Administrator
Information Management

JOHANNES KEPLER
UNIVERSITY LINZ
Altenberger Straße 69
Juridicum, J011 B
4040 Linz, Austria
P +43 732 2468 3925
ferdinand.goldmann at jku.at
www.jku.at/im
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6023 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman23.u.washington.edu/pipermail/alpine-info/attachments/20250718/5c564995/attachment.p7s>


More information about the Alpine-info mailing list