I put your replaced + with * into noProcessingFrom and it worked!   I'll
watch for an update to handle the + in the address lists.

So it appears the noProcessingFrom also checks the envelope and the
envelope sender and from in header to not have to match for this to work.
I was thrown off by the word "solely" in the GUI and didn't realize that
the header wasn't also scanned.   Suggestion: change the descriptions a
bit?  Assuming that if it's a recipient match that it must match ALL
recipients and that's why you have solely and that the header is not
scanned except for the npRe

noProcessing:
If the envelope sender matches or all recipients addresses from the
envelope match an address in this list, then the message will be proxied
without processing.

Like a more efficient version of Spam-Lovers & redlist combined. Accepts
specific addresses (u...@domain.com), user parts (user) or entire domains (@
domain.com). Wildcards are supported (fribo*@domain.com). If you register
TO addresses here, all recipients for a single mail must be marked as
noprocessing to flag the mail as "noprocessing".

noProcessingFrom
If the envelope sender matches an address in this list, then the message
will be proxied without processing.

noProcessingDomains - I assume this matches the sender from the envelope
only?  Or is the header checked too?  Clarify?

npRe
If a message (that's the header and body, not the envelope) matches this
Perl regular expression....






On Thu, Mar 22, 2018 at 3:05 AM, Thomas Eckardt <thomas.ecka...@thockar.com>
wrote:

> >Does npRE no longer search the envelope?
>
> This was never the case!
> npRe can't match, because the envelope sender is not part of the email :(:(
>
> noProcessing does not match because of a bug. The '+' in the address is
> not escaped in the regular expression, it is instead processed as a
> quantifier. This will be fixed.
>
> for now you can use the following in 'noProcessing':
>
> test.person*caf_=them=*ourcharity....@gmail.com*
> <ourcharity....@gmail.com>
>
> Thomas
>
>
>
> Von:        "K Post" <nntp.p...@gmail.com>
> An:        "ASSP development mailing list" <assp-test@lists.sourceforge.
> net>
> Datum:        21.03.2018 16:47
> Betreff:        [Assp-test] No processing based on envelope
> ------------------------------
>
>
>
> I've got a handful of users who forward their personal *gmail.com*
> <http://gmail.com/> addresses to their account here.  When this happens
> google forwards along with an envelope from
> [userpartofgmailaddress]+caf_=[userpartofASSPaddress]=[
> hostnameofASSPaddress]@*gmail.com* <http://gmail.com/>
>
> For example, if someone forwarded their personal *test.per...@gmail.com*
> <test.per...@gmail.com> address to their t...@ourcharity.org address
> here, the envelope from would be
> test.person+caf_=them=*ourcharity....@gmail.com*
> <ourcharity....@gmail.com>
>
> I want to *no process* all of these forwards. What I've been doing for
> the longest time is putting the from addresses in npRe.   I have a hard
> time believing that this didn't used to work, but its possible that it
> never did.   So for example, npRE looks like this:
> test\.person\+caf_=them=OurCharity\.org@gmail\.com
> escaping all periods and the plus sign
>
> When I test this by sending a mail from another server to a test gmail
> account which is set to forward to ASSP, I do see test.person+caf_=them=
> *ourcharity....@gmail.com* <ourcharity....@gmail.com> in the envelope as
> expected.  The from: line is the original sender, also as expected.
>
> However, *I'm not seeing a npRE match*.  Nothing is logged as such and
> the mail often goes to spam (as it should based on content, but the no
> processing should let it pass instead)
>
> I also tried to put the test.person+caf_=them=*ourcharity....@gmail.com*
> <ourcharity....@gmail.com> address (non-escaped) into noProcessing, but
> that's not matching either, I suspect because the description of
> noProcessing says "mail SOLELY to or from these addresses" and it's not
> *solely* from test.person+caf_=them=*ourcharity....@gmail.com*
> <ourcharity....@gmail.com>, that's the envelope from but the header from
> is the original sender.
>
> What in the world am I doing wrong?  Does npRE no longer search the
> envelope?  Other options without automatically noprocessing anything from
> gmail?
>
> Thanks
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally
> privileged and protected in law and are intended solely for the use of the
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to