Bug 6917 - add_header should not add to rcpt-to remote domains
Summary: add_header should not add to rcpt-to remote domains
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2013-03-14 12:48 UTC by Benny Pedersen
Modified: 2020-01-30 11:42 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2013-03-14 12:48:28 UTC
spamassassin with spampd will add_header to recipient domains not local, i like to see spamassassin handle this like amavisd-new does it with only add_header for local domains with recipients

add_header_local_domainlist localhost
add_header_local_domainlist localhost.example.org

if recipient is not one of them dont add_header
Comment 1 Benny Pedersen 2020-01-30 11:42:36 UTC
and bayes users is only working for mailbox recipients, not aliases from eq postfixadmin, this will be new bayes user

if bayes can use postfixadmin aliases, it would be nice to find bayes users from alias to mailbox user so it can use right bayes user on autolearn, even with no autolearn its is trained to incorrect bayes user, so i think bayes on its own need alias support not just recipient mailbox

i found all this problems with fuglu in prequeue proxy scanning, can it be solved by doing alias expanding in postfix stage so fuglu see only mailbox ?

the created bug is the same problem i try to solve today