Bug 6917

Summary: add_header should not add to rcpt-to remote domains
Product: Spamassassin Reporter: Benny Pedersen <me>
Component: spamassassinAssignee: SpamAssassin Developer Mailing List <dev>
Status: NEW ---    
Severity: normal CC: me
Priority: P2    
Version: unspecified   
Target Milestone: Undefined   
Hardware: All   
OS: All   

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