Re: filter based on header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/24/16, Marchello Lippi <marchello@xxxxxx> wrote:
>  Hi all,
>
> How do I create filter based on header?
> I can see "Match: header" among filter types.
> The header I would like to filter is: "Received: from c1.b1.a1.com" where
> "c1" part can change, but "b1.a1.com" part is always the same.
> Please help me to do it properly.
> Thanks ahead.

You have to specify what filtering tool you use before anyone can be
of much help.  I can only guess and say that if the filtering
mechanism you're using supports regular expression matching, you'd
probably put something like:

/^Received: from \S+\.b1\.c1\.com/i

With or without the delimiters.  If wildcards are used for more simple
matching, just:

Received: from *.b1.c1.com

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux