<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I'm trying to implement per-user allowlisting. Users don't always have their own home directory, making it very difficult to do it <br>
> in spamassassin.<br>
> <br>
> I'm using amavis-2.13 on fedora40 and would like to allowlist some senders, but the envelope sender is often obscure or unique or <br>
> sent from a general mailing service like Mailchimp, etc, which makes it very difficult to use the envelope sender.<br>
> <br>
> How can I implement the equivalent of the welcomelist in spamassassin in amavisd instead?<br>
<br>
You mention several things and I am not sure which of those you don't want to use. @score_sender_maps checks the envelope sender <br>
as well as the From address(es).<br></blockquote><div><br></div><div>Thanks for confirming. I didn't see any actual indication of that in the docs here<br><a href="https://www.ijs.si/software/amavisd/amavisd-new-docs.html#score_sender">https://www.ijs.si/software/amavisd/amavisd-new-docs.html#score_sender</a></div><div><br></div><div>or in the sample amavisd.conf. Instead, it references "envelope sender"</div><div><a href="https://github.com/srault95/amavisd-new/blob/master/amavisd.conf#L244C3-L244C11">https://github.com/srault95/amavisd-new/blob/master/amavisd.conf#L244C3-L244C11</a></div><div><br></div><div>Are all of these now deprecated in favor of @score_sender_maps()? </div><div># @blacklist_sender_maps = (\%blacklist_sender, \@blacklist_sender_acl, \$blacklist_sender_re); </div><div># @whitelist_sender_maps = (\%whitelist_sender, \@whitelist_sender_acl, \$whitelist_sender_re); </div><div> # $per_recip_blacklist_sender_lookup_tables = under; </div><div># $per_recip_whitelist_sender_lookup_tables = undef; # deprecated</div><div><br></div><div>Thanks!</div><div> </div></div></div>