Hey guys,
I have a catchall mailbox and some specific recipients are receiving a lot of spam on a daily basis (usually 30-50 emails). Example: I am using a mailbox emails@mydomain.com and the email address johnsmith@mydomain.com spam emails.
Based on other questions I have added a global sieve prefilter:
# global_sieve_before script
# global_sieve_before -> user sieve_before (mailcow UI) -> user sieve_after (mailcow UI) -> global_sieve_after
if address :is "to" "johnsmith@mydomain.com" {
discard;
stop;
}
However, these spam emails still land in quarantine. If it says sent to junk, it won’t show up there as they have already been deleted but I still need to handle the quarantine notifications. Is there anything I could do to prevent emails being sent to quarantine and discard them right away?
Thanks in advance!