| 1 | # hcoop-change: Pass email through spamc if its recipient is a valid |
| 2 | # HCoop user and it has not yet been scanned. |
| 3 | |
| 4 | spamcheck_router_localuser: |
| 5 | debug_print = "R: spamcheck_router_localuser for $local_part@$domain" |
| 6 | # hcoop-change: deliver $user+$suffix to $user |
| 7 | local_part_suffix = +* |
| 8 | local_part_suffix_optional |
| 9 | no_verify |
| 10 | condition = "${if !eq {$received_protocol}{spam-scanned} {1}{0}}" |
| 11 | check_local_user |
| 12 | require_files = /etc/spamassassin/addrs/${local_part}@localhost |
| 13 | driver = accept |
| 14 | transport = spamcheck |