On 7/12/22 2:30 AM, yamo' wrote:
> Hi,
Hi Stéphane,
> In cleanfeed.local
>
> Into the function local_filter_last
>
> if ($hdr{From} =~ /\@gmail/) {
> if (not $hdr{Subject} =~ /^re/i) {
> if ( $hdr{Subject} =~ /card/i) {
> if ( $hdr{Subject} =~ /card/i) {
> return reject( 'Bad post!');
> }
>
> }
> }
> };
Thank you for that example.
I believe I understand it well enough to make the following bug report.
It looks like you're checking if the Subject header contains a case
insensitive "card" string twice. I suspect you copy and pasted lines
and meant to change one of them to "blank". ;-)
I believe I will be able to take your good example and add it to my
cleanfeed.local file.
> I'm sure that someone will give a two or three lines solution...
I could be ornery and say that there's no possible way to do that,
thereby guaranteeing that multiple people will prove me wrong. }:-)
Thank you again Stéphane. :-)