On 2022-12-27 05:25, e...@bitsfit.com wrote:
Help correct managesieve.txt and upload

# rule:[help discard from mismatches]
if allof (header :contains "from" ".",header :matches "Reply-to" "sameasfrom")
{
     discard;
     stop;
}

it's unclear if the sieve protocol supports what you want. it's not clear if the variable extensions in RFC5229 apply to the tests or only to the actions (all examples only show the variables being used in the action).

but in theory, you'd want something like:

require ["variables"];
if allof (header :matches "from" "*", header :matches "reply-to" "$1") {
  discard; stop;
}

you'll have to test your delivery agent and see if the sieve engine in it allows variables to propagate into the tests and not just the actions. you should already be able to craft a rule like this with the roundcube managesieve plugin (though it might end up escaping the variable on you)

however, even if this worked you'd have problems. mail to this list would always end up getting dropped by this rule, as it would not match. ie:

Reply-To: Roundcube Development discussion mailing list
 <dev@lists.roundcube.net>
From: e...@bitsfit.com

furthermore, the from and reply-to headers can take a few different forms - it's entirely possible you could see a message like:

Reply-To: e...@bitsfit.com
From: Earl <e...@bitsfit.com>

which would also not match with the simple wildcard match i put above - you'd need a much more complicated regex match to be certain. and you'd need some type of condition to handle the case when the from or reply-to headers don't exist.

really, this kind of anti-spam trapping is better off inside a spam scanning engine, as the logic is going to be more complicated that a simple accept/drop based on header matches (you'd be better off scoring a message up, but only under certain circumstances)


On 2022-12-27 05:09, Reindl Harald wrote:
are you mentally ill or why do you spam "rfc-inter...@rfc-editor.org" and "rfc-d...@rfc-editor.org"?

sieve is still a SERVERSIDE filter and needs to be supported from your admin too dumb for spamassassin

https://doc.dovecot.org/configuration_manual/sieve/

Am 27.12.22 um 13:53 schrieb e...@bitsfit.com:
Info sourced from https://www.roundcubeforum.net/index.php?topic=28746.0 <https://www.roundcubeforum.net/index.php?topic=28746.0>

The github project for managesieve plugin for roundcube explains filters
https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/helpdocs/en_US/settings-filters.rst
 
<https://github.com/roundcube/roundcubemail/blob/master/plugins/managesieve/helpdocs/en_US/settings-filters.rst>
but not like https://www.rfc-editor.org/rfc/rfc5229 <https://www.rfc-editor.org/rfc/rfc5229>

How can I make filter for mismatch of Return-Path: to From: in Header
https://www.rfc-editor.org/rfc/rfc5229 <https://www.rfc-editor.org/rfc/rfc5229>

On 2022-12-27 03:00, dev-requ...@lists.roundcube.net <mailto:dev-requ...@lists.roundcube.net> wrote:

Send dev mailing list submissions to
dev@lists.roundcube.net <mailto:dev@lists.roundcube.net>

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.roundcube.net/mailman/listinfo/dev <http://lists.roundcube.net/mailman/listinfo/dev>
or, via email, send a message with subject or body 'help' to
dev-requ...@lists.roundcube.net <mailto:dev-requ...@lists.roundcube.net>

You can reach the person managing the list at
dev-ow...@lists.roundcube.net <mailto:dev-ow...@lists.roundcube.net>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."

Today's Topics:

1. Re:  ' LiquorAssassin Co nfused filteRe: Please autofilter
Reply to From mismatch (e...@bitsfit.com <mailto:e...@bitsfit.com>)
2. Re:  ' LiquorAssassin Co nfused filteRe: Please autofilter
Reply to From mismatch (e...@bitsfit.com <mailto:e...@bitsfit.com>)

----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Dec 2022 05:41:16 -0800
From: e...@bitsfit.com <mailto:e...@bitsfit.com>
To: Reindl Harald <h.rei...@thelounge.net <mailto:h.rei...@thelounge.net>>, Announce <annou...@lists.roundcube.net <mailto:annou...@lists.roundcube.net>>, Dev <dev@lists.roundcube.net <mailto:dev@lists.roundcube.net>>
Subject: Re: [RCD] ' LiquorAssassin Co nfused filteRe: Please
autofilter Reply to From mismatch
Message-ID: <4110eadc23acfcd154beff4c86040...@bitsfit.com <mailto:4110eadc23acfcd154beff4c86040...@bitsfit.com>>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Its idiots like you ban me from github for dummy file $VIRUS_NAME+".EXE"
OR NICE SHEBANG BASH !!
nice -n19 bash

In 15years and a day you still cant help me filter header from and
return-path mismatches

Community if any
filter suggestion delete messages with header Return-path: mismatch
header From:

tiny.cc/oipi
help discuss pi ratios for sequence

On 2022-12-26 05:35, Reindl Harald wrote: Am 26.12.22 um 14:33 schrieb e...@bitsfit.com: <mailto:e...@bitsfit.com:> I figure you are not project lead but this is a product or object of
orient design.
hell i am a user and mail admin for 15 years and your english don't
make any sense at all

On 2022-12-26 01:04, Reindl Harald wrote: Am 26.12.22 um 02:45 schrieb e...@bitsfit.com: <mailto:e...@bitsfit.com:> you Reindl work for corporate!?

filter suggestion delete messages with header Return-path: mismatch
header From:
is somthing SpamAssassin gives scores out-of-the-box

moddedUlar
so qube is out of the box a modular plugg ood pbject of orient
design
so what - roundcube is one of dozens of clients, whatever you filter
in roundcube don't affaect your smartphone

it's the job of the MAILSERVER - period

"plugg ood pbject of orient design" isn't BTW any useful language

The screenshot was over kb limit.

On 2022-12-25 13:26, Reindl Harald wrote: couldn't care less - the spamfilter still don't belong into the
CLIENT and roundcube is a client - period

------------------------------

Message: 2
Date: Mon, 26 Dec 2022 06:19:07 -0800
From: e...@bitsfit.com <mailto:e...@bitsfit.com>
To: Reindl Harald <h.rei...@thelounge.net <mailto:h.rei...@thelounge.net>>, Announce      <annou...@lists.roundcube.net <mailto:annou...@lists.roundcube.net>>, Dev <dev@lists.roundcube.net <mailto:dev@lists.roundcube.net>>
Subject: Re: [RCD] ' LiquorAssassin Co nfused filteRe: Please
     autofilter Reply to From mismatch
Message-ID: <0dbd3ed5c4271e03e32f73d55a063...@bitsfit.com <mailto:0dbd3ed5c4271e03e32f73d55a063...@bitsfit.com>>
Content-Type: text/plain; charset="us-ascii"; Format="flowed"

I'm not the admin to add SpamAssassin bloatware

   I just want a wallet for altcoin https://tiny.cc/oirbow <https://tiny.cc/oirbow> lfap stock
1/100
pay email to get rid of spam
and junk from Return-Path: header mismatch

https://tiny.cc/oicodethis <https://tiny.cc/oicodethis>
aka
https://www.warriorforum.com/programming/1169962-expert-programmer-challenge.html#post10600110
 
<https://www.warriorforum.com/programming/1169962-expert-programmer-challenge.html#post10600110>

I like Ultima 8
http://bimse4r.space <http://bimse4r.space>

On 2022-12-26 05:50, Reindl Harald wrote:

until you are not so dumb post your mails to
"annou...@lists.roundcube.net <mailto:annou...@lists.roundcube.net>" which is hardly your business be careful
what you write :-)

Am 26.12.22 um 14:41 schrieb e...@bitsfit.com: <mailto:e...@bitsfit.com:>

Its idiots like you ban me from github for dummy file
$VIRUS_NAME+".EXE" OR NICE SHEBANG BASH !!
nice -n19 bash

i don't have anything to do with Shithub

In 15years and a day you still cant help me filter header from and
return-path mismatches

i told you the right tool

Community if any
filter suggestion delete messages with header Return-path: mismatch
header From:

i told you the right tool for mail filtering - just because only you
know a hammer not all problems are nails

tiny.cc/oipi
help discuss pi ratios for sequence

On 2022-12-26 05:35, Reindl Harald wrote: Am 26.12.22 um 14:33 schrieb
e...@bitsfit.com: <mailto:e...@bitsfit.com:> I figure you are not project lead but this is a
product or object of orient design.
hell i am a user and mail admin for 15 years and your english don't
make any sense at all

On 2022-12-26 01:04, Reindl Harald wrote: Am 26.12.22 um 02:45 schrieb
e...@bitsfit.com: <mailto:e...@bitsfit.com:> you Reindl work for corporate!?

filter suggestion delete messages with header Return-path: mismatch
header From:
is somthing SpamAssassin gives scores out-of-the-box

moddedUlar
so qube is out of the box a modular plugg ood pbject of orient design
so what - roundcube is one of dozens of clients, whatever you filter in
roundcube don't affaect your smartphone

it's the job of the MAILSERVER - period

"plugg ood pbject of orient design" isn't BTW any useful language

The screenshot was over kb limit.

On 2022-12-25 13:26, Reindl Harald wrote: couldn't care less - the
spamfilter still don't belong into the CLIENT and roundcube is a client
- period
  -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20221226/77ddba76/attachment-0001.html <http://lists.roundcube.net/pipermail/dev/attachments/20221226/77ddba76/attachment-0001.html>>

------------------------------

_______________________________________________
List info: http://lists.roundcube.net/dev/ <http://lists.roundcube.net/dev/>

End of dev Digest, Vol 164, Issue 2
***********************************
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to