]> git.proxmox.com Git - pmg-log-tracker.git/commit - src/main.rs
fix ToEntrys in FEntrys not being considered for 'to' filtering
authorMira Limbeck <m.limbeck@proxmox.com>
Tue, 19 May 2020 13:31:06 +0000 (15:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 May 2020 14:33:53 +0000 (16:33 +0200)
commit90e195ecc1c303f94f3ebb58c81341e442bebf7f
treea3edf0066504c1bccde44b24c08f3bf1b69e45ef
parentc6d8a7160971d4a268c92fa49ef87d7ccd44d53c
fix ToEntrys in FEntrys not being considered for 'to' filtering

When a 'to' filter is specified and a mail has multiple 'to's with at
least one being accepted, the others blocked or quarantined and the
'to' for the accepted mail does not match, the entries in the filter
will be ignored even if one of them would match.
To fix it the filter ToEntrys are now considered in the 'to' check.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
src/main.rs