Telackey: Sorry, didn't realize you had replied ... (maybe email from this Forum got bounced :D)
Maybe an alternative: LDAP lookup from SV -> Domino (i.e., make Domino behave like your Exchange lookup?) but I am not sure if that is all you are doing with Exchange and I am not sure if that necessarily prevents "bounce" messages.
Yes, that is what it is doing. It won't necessarily prevent a bounce, but it would change the origin of the bounce. Since SV would reject receipt, the bounce would originate at the sender's SMTP server, not yours or at SV.
SV is using a rather primitive system of periodically downloading the recipients list from Exchange (more correctly from AD), parsing it, and writing it out in a from Postfix understands.
The
much better way to do that is though using Postfix's LDAP support directly. The major obstacle there is that the Postfix in SV was not complied with LDAP support enabled, which means recompiling and deploying it. That isn't so onerous as it might sound, however.
To do the first way you'd want to enable Exchange support in the installer (a useful expedient on several of the settings) and then you would need to edit /usr/home/spamviewer/config.py and change the value of LDAP_SEARCH_FILTER to something Domino would understand. That should be pretty simple.
Then you'd need to edit /usr/home/spamviewer/elr.py and where you see it use the attribute 'proxyAddresses' you'd want to change it to the Domino equivalent (possibly 'mail') and also probably remove the related test for ".startswith('smtp:')" which likely wouldn't apply. Again, the changes should be minor and simple.
To go the Postfix->LDAP route, you'd need, of course, to recompile Postfix, but also to write a new LDAP config file which matched your setup and set the relay_recipients_map to that. If you need to do that, I may be able to give your a hand should you require it.