spam filters on masked emails?

Does apple apply it’s own filters to detect spam etc. on emails sent to masked email addresses, or does it just forward all emails to the original email address without filtering out emails?