You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by joe a <jo...@j4computers.com> on 2024/10/30 15:11:48 UTC
Comment on lint behavior
SpamAssassin 3.4.5 (2021-03-20)
Found that lint did not catch a "typo" I made in a "wildcard" email address in the directive "whitelist_auth"
Intended to enter an email address in the form"*@some.mail" but entered"^@some.mail" instead. Lint did not complain.
Perhaps the caret character is valid and has some meaning in that context I'm not aware of, but thought I would mention it.
Re: Comment on lint behavior
Posted by joe a <jo...@j4computers.com>.
On 10/30/2024 12:52:39, Bill Cole wrote:
> On 2024-10-30 at 11:11:48 UTC-0400 (Wed, 30 Oct 2024 11:11:48 -0400)
> joe a<jo...@j4computers.com>
> is rumored to have said:
>
>> SpamAssassin 3.4.5 (2021-03-20)
>>
>> Found that lint did not catch a "typo" I made in a "wildcard" email address in the directive "whitelist_auth"
>>
>> Intended to enter an email address in the form"*@some.mail" but entered"^@some.mail" instead. Lint did not complain.
> SpamAssassin's lint function is performing as designed. You entered an entirely valid email address. The lint function in SA has no way to know that you actually meant to enter a wildcard.
>
>> Perhaps the caret character is valid and has some meaning in that context I'm not aware of, but thought I would mention it.
> The caret is an entirely valid character for the local-part of an email address. It has NO special meaning in the context of an email address. See page 12 of RFC5322, where ^ is explicitly included in the definition of legal characters in an email address.
Thanks for the information.
Re: Comment on lint behavior
Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2024-10-30 at 11:11:48 UTC-0400 (Wed, 30 Oct 2024 11:11:48 -0400)
joe a <jo...@j4computers.com>
is rumored to have said:
> SpamAssassin 3.4.5 (2021-03-20)
>
> Found that lint did not catch a "typo" I made in a "wildcard" email address in the directive "whitelist_auth"
>
> Intended to enter an email address in the form"*@some.mail" but entered"^@some.mail" instead. Lint did not complain.
SpamAssassin's lint function is performing as designed. You entered an entirely valid email address. The lint function in SA has no way to know that you actually meant to enter a wildcard.
> Perhaps the caret character is valid and has some meaning in that context I'm not aware of, but thought I would mention it.
The caret is an entirely valid character for the local-part of an email address. It has NO special meaning in the context of an email address. See page 12 of RFC5322, where ^ is explicitly included in the definition of legal characters in an email address.
--
Bill Cole