Add support for passing on the recipient as spamc user #1
Labels
No labels
bug
enhancement
suggestion
support
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: glts/spamassassin-milter#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to support per-user preferences, the envelope recipient needs
to be passed on to SpamAssassin with the spamc
-u
option.Unfortunately, it is not obvious how to implement this properly in
SpamAssassin Milter, because of the possibility of multiple recipients.
When an incoming message is addressed to multiple recipients, one cannot
simply select one of the recipients as the user. Instead, either no
user, or a default or fallback user would have to be used in this case.
But to SpamAssassin Milter end users this will look like a bug:
sometimes my user preferences are applied and sometimes not!
Another project,
spamass-milt, uses
the above approach (its
-u
and-e
options), which as described Ibelieve is flawed. So, before copying that approach in this project, we
need to think about whether that functionality is desirable and how we
want to design and implement it.
Input welcome. (I myself don’t use per-user preferences or a per-user
Bayes database, I only use site-wide preferences and Bayes data.)
changed the description
I will not be looking into this further, we can reopen if there is interest.