<div dir="ltr"><div>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.</div><div><br></div><div>From:   *@<a href="http://oneexample.com">oneexample.com</a>                                   AND TO: *@<a href="http://mydomain.com">mydomain.com</a>   yes<br>From:   *@<a href="http://onesub.twosub.anotherexample.com">onesub.twosub.anotherexample.com</a>   AND TO: *@<a href="http://mydomain.com">mydomain.com</a>   yes<br>From:   *@<a href="http://towexample.com">towexample.com</a>                                   AND TO: *@<a href="http://mydomain.com">mydomain.com</a>   yes<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at 5:35 PM Mark Sapiro <<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/17/21 1:06 PM, David Daniluk wrote:<br>
> <br>
> My first issue is very similar to the post here:<br>
> <a href="http://lists.mailscanner.info/pipermail/mailscanner/2002-December/008540.html" rel="noreferrer" target="_blank">http://lists.mailscanner.info/pipermail/mailscanner/2002-December/008540.html</a>.<br>
> I have whitelist entries like below<br>
> <br>
> From:    *@<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>             AND TO:<br>
> *@<a href="http://mydomain.com" rel="noreferrer" target="_blank">mydomain.com</a>       yes<br>
> <br>
> From:    *@*.<a href="http://example.com" rel="noreferrer" target="_blank">example.com</a>         AND TO:<br>
> *@<a href="http://mydomain.com" rel="noreferrer" target="_blank">mydomain.com</a>       yes<br>
> <br>
>             ^tab                               ^tab     ^space (and<br>
> after TO:)       ^tab<br>
> <br>
>  <br>
> <br>
> The first rule seems to work without issues, but the second does not<br>
> work (at least for some of the rules like that). My question on this one<br>
> is: is my entry correct or did I make a mistake by not using<br>
> “/[\@\.]example\.com$/”.<br>
<br>
<br>
Yours as they are should be OK. As far as the regexp goes, I prefer<br>
that, but it should be<br>
<br>
/[@.]example\.com$/<br>
<br>
things like '.' lose their special meaning inside a character class and<br>
shouldn't be escaped.<br>
<br>
<br>
> My second issue is less generic as I only have one rule like it.<br>
> From:    *@<a href="http://onesub.twosub.example.com" rel="noreferrer" target="_blank">onesub.twosub.example.com</a>  AND TO: *@<a href="http://mydomain.com" rel="noreferrer" target="_blank">mydomain.com</a>  yes<br>
> <br>
>  <br>
> <br>
> E-mails coming from exactly what I have the rule for are still getting<br>
> marked as spam L.<br>
> <br>
> Is there a syntax checker for the whitelist anywhere?<br>
<br>
<br>
Where are you referencing these rules? It is possible that the rule is<br>
fine, but the setting you are applying it to is not the correct one to<br>
do what you want<br>
<br>
<br>
-- <br>
Mark Sapiro <<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>>        The highway is for gamblers,<br>
San Francisco Bay Area, California    better use your sense - B. Dylan<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
</blockquote></div></div>