Normally you would use a content filter like Amavis along side postfix accomplish this.
From: Tan Mientras <[email protected]>
Sent: Wednesday, December 14, 2022 9:22 AM
To: [email protected]
Subject: Filter mail with dangerous attachments
Sent: Wednesday, December 14, 2022 9:22 AM
To: [email protected]
Subject: Filter mail with dangerous attachments
Hello
Excuse my generic question, but I dont know where to start
Is it possible to filter/detect/forbid mails containing invoice.exe as attachment at postfix level?
Thanks
