1

Topic: Blocking certain types of attachments from external address only

iRedMail v0.9.8 MySQL Nginx

Is there a way to block all .DOC files or any specific attachment extensions but only from emails that arrive externally?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Blocking certain types of attachments from external address only

I didn't try to implement this before, maybe you can create a new policy bank for port 10024 in Amavisd config file, then define a custom $banned_filename_re setting for this policy bank. I'm not sure it will work, just an idea.