Re: whitelist issues

David Daniluk <[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <CAO6Be2yV5kf3xmV=88Y1u-mFR+zsMr9kJ-TTQ+QmydQpd=ENHA@mail.gmail.com>
If I am not misunderstanding what you mean... The rule is in the middle of
other rules. It would look similar to the below. May I as what you meant by
"the setting you are applying"? I did not know that there were settings
that could be applied to rules. I feel like all the rules I have are
'generic' white-list rules; I do not think I have any areas that would be
considered to be settings.

From:   *@oneexample.com                                   AND TO: *@
mydomain.com   yes
From:   *@onesub.twosub.anotherexample.com   AND TO: *@mydomain.com   yes
From:   *@towexample.com                                   AND TO: *@
mydomain.com   yes

On Mon, May 17, 2021 at 5:35 PM Mark Sapiro <[email protected]> wrote:

> On 5/17/21 1:06 PM, David Daniluk wrote:
> >
> > My first issue is very similar to the post here:
> >
> http://lists.mailscanner.info/pipermail/mailscanner/2002-December/008540.html
> .
> > I have whitelist entries like below
> >
> > From:    *@example.com             AND TO:
> > *@mydomain.com       yes
> >
> > From:    *@*.example.com         AND TO:
> > *@mydomain.com       yes
> >
> >             ^tab                               ^tab     ^space (and
> > after TO:)       ^tab
> >
> >
> >
> > The first rule seems to work without issues, but the second does not
> > work (at least for some of the rules like that). My question on this one
> > is: is my entry correct or did I make a mistake by not using
> > “/[\@\.]example\.com$/”.
>
>
> Yours as they are should be OK. As far as the regexp goes, I prefer
> that, but it should be
>
> /[@.]example\.com$/
>
> things like '.' lose their special meaning inside a character class and
> shouldn't be escaped.
>
>
> > My second issue is less generic as I only have one rule like it.
> > From:    *@onesub.twosub.example.com  AND TO: *@mydomain.com  yes
> >
> >
> >
> > E-mails coming from exactly what I have the rule for are still getting
> > marked as spam L.
> >
> > Is there a syntax checker for the whitelist anywhere?
>
>
> Where are you referencing these rules? It is possible that the rule is
> fine, but the setting you are applying it to is not the correct one to
> do what you want
>
>
> --
> Mark Sapiro <[email protected]>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>
> --
> MailScanner mailing list
> mailscanner-qhrM8SXbD5JTOyd/[email protected]
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.