Re: .mailfilter file stopped working with 2.7.1

Sam Varshavchik <[email protected]> Thu, 16 Jan 2014 19:16:40 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Dimitri Maziuk writes:

> On 01/16/2014 05:02 PM, Sam Varshavchik wrote:
>
> > In the case here, the quotes are redundant, so they're removed before
> > the actual search takes place. So now, the same search pattern will
> > match a From: header with or without quotes, around the names.
>
> And if I wanted to
>
> if( /^From:.*good guys/ )
> {
>   to "Maildir"
> }
>
> if( /^From:.*"good" guys/ )
> {
>  to "/dev/null"
> }

Why would you want to do that?

If you want to filter messages from a specific source, use reformime -u to  
see how the headers look in canonical form, then write a filter for that.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJS2HZoAAoJEGs6Yr4nnb8llmMQAI+VYtnTiZpXIPNtcCxjBwJ2
f9aeg8h5d8MsHzQTp1B7RrPXJS7u/KocWa5Hgk0/wbK1TQrNfbkDWiOxBEofOELk
9Lm4dqK3M1Uc3hs36WtxYSbgWhdfzFQAVBXCyhTYZx60sb6TDIEKS2aPW0xl0E5H
UJkM7Aj8oMyffz6RNRccHdSm0/q2qwkJFQOLjlNySEgm7LagnixWPnoBzAz5+3mb
Z98ASX8+WpgruHYvXgOSSHpQBXUBZ6aY4hWHY+bHDqP1XAWCNrf6j8Y70WTd7Cg/
4cGi/4zmTVQu2MWSGHDxI1ErlGo7lkdd0XD9+tVOMsQlOE+RQyubIKL/GvD7P8sU
tTzxFEiAeSDbSxp1WJ9VpGZVDmsZxvUI7CYgJh8Ne+Z/eBqLevxQ1KDjVhw/IY10
woKXWl92vplnLBScEd5rdbouxx+rOGziqTtQ1u8BdSfw5Dd6Yq1XW6qZesR3OHyR
GQrPtaCFWCqMRv6cJK2VN91U9BnvEz0DazJWdyrhMBQb9KPmzdB+51V4ffu1j7bc
EYXfHzjgiFDDImUpD+UY0iazm80KbpVg49KZZJqveDXACWcboanHcbwePNu41OFG
YPk0VhuC5M6WU8/F2wdYeh37fYBvicOM6NftR08RI0GObpAI2XZbfGbPcQcRsZLe
3txMCXz9Mz5lxEMhQYt8
=oZ++
-----END PGP SIGNATURE-----