score_sender_maps for From address?
Alex
mysqlstudent at gmail.com
Tue Nov 12 20:42:41 CET 2024
> > I'm trying to implement per-user allowlisting. Users don't always have
> their own home directory, making it very difficult to do it
> > in spamassassin.
> >
> > 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
> > sent from a general mailing service like Mailchimp, etc, which makes it
> very difficult to use the envelope sender.
> >
> > How can I implement the equivalent of the welcomelist in spamassassin in
> amavisd instead?
>
> 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
> as well as the From address(es).
>
Thanks for confirming. I didn't see any actual indication of that in the
docs here
https://www.ijs.si/software/amavisd/amavisd-new-docs.html#score_sender
or in the sample amavisd.conf. Instead, it references "envelope sender"
https://github.com/srault95/amavisd-new/blob/master/amavisd.conf#L244C3-L244C11
Are all of these now deprecated in favor of @score_sender_maps()?
# @blacklist_sender_maps = (\%blacklist_sender, \@blacklist_sender_acl,
\$blacklist_sender_re);
# @whitelist_sender_maps = (\%whitelist_sender, \@whitelist_sender_acl,
\$whitelist_sender_re);
# $per_recip_blacklist_sender_lookup_tables = under;
# $per_recip_whitelist_sender_lookup_tables = undef; # deprecated
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20241112/578ae286/attachment.htm>
More information about the amavis-users
mailing list