<div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2024 at 5:03 PM Damian <<a href="mailto:amavis@arcsin.de" target="_blank">amavis@arcsin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Yes, that's correct - I've always used postfix always_bcc and didn't realize there was one for amavis as well.<br>
<br>
If you want to keep it that way, you could declare bcc-user a spam_lover:<br>
<br>
> @spam_lovers_maps = ([                                                                                                                           <br>
>   '<a href="mailto:bcc-user@gambit.example.com" target="_blank">bcc-user@gambit.example.com</a>',<br>
> ]);<br></blockquote><div><br></div><div>I did this, but it doesn't appear to be working. I've added the following to my amavisd.conf:</div><div><br></div><div>@spam_lovers_maps = ( ['<a href="mailto:bcc-user@xavier.example.com" target="_blank">bcc-user@xavier.example.com</a>', '<a href="mailto:bcc-user@iceman.example.com" target="_blank">bcc-user@iceman.example.com</a>', '<a href="mailto:bcc-user@gambit.example.com" target="_blank">bcc-user@gambit.example.com</a>'] );<br>@bypass_spam_checks_maps = ( ['<a href="mailto:bcc-user@xavier.example.com" target="_blank">bcc-user@xavier.example.com</a>', '<a href="mailto:bcc-user@iceman.example.com" target="_blank">bcc-user@iceman.example.com</a>', '<a href="mailto:bcc-user@gambit.example.com" target="_blank">bcc-user@gambit.example.com</a>'] );<br></div><div><br></div><div>May  8 09:11:45 iceman amavis[3525694]: (3525694-02) status counters: InMsgsStatus{Relayed,RelayedTagged,RelayedTaggedInbound,RelayedUntagged,RelayedUntaggedInbound}<br></div><div>May  8 09:11:45 iceman amavis[3525694]: (3525694-02) {"@timestamp":"2024-05-08T13:11:39.144Z","action":["PASS"],"actions_performed":"RelayedTaggedInbound RelayedInbound Quarantined","attached_file_names":["message.msg"],"aut<br></div><div><br></div><div>I'm also seeing emails with both the whitelisted value and the regular points value:<br></div><div>X-Spam-Flag: YES<br>X-Spam-Score: 7.761<br>X-Spam-Level: *******<br>X-Spam-Status: Yes, score=-92.239..7.761 tag=-200 tag2=5 kill=5<br></div><div><br></div><div>However, I don't want spam checks for the bcc-user email to be bypassed. I also don't want the spam that would be quarantined for the regular sender to be delivered for the bcc-user either.</div><div><br></div><div>In other words, I want the bcc-user to be treated exactly the same as mail for the intended recipient. Is this possible, given they are in different domains?</div><div><br></div><div>Thank you!</div><div> </div></div></div>