I'm aware of the request for this @ Bug 12136 – RFE : Block attachments per COS / user but as the last comment is over a year ago i'm wondering on the status of this?
Anyway, has anyone else figured/hacked a way to do this?
I was thinking of postfix using header_checks but i'm unsure if multiple conditions, like:
if /^From: user@domain.com/
if /filename="?(.*).(gif|GIF)/
REJECT Sending filename gif or GIF is blocked for your user
endif
endif
(I'm yet to test this so my syntax is probably way off)
Any postfix wizards out there? Or is there a better way to do this another way?
Per-User attachment blocking [bug id 12136]
Per-User attachment blocking [bug id 12136]
Ok, I understand now with "Send blocked attachment report" ticked under the Attachments tab in "Global Settings" that amavis is used for this now, not postfix?
Is there a way to do what I want then, with amavis?
Is there a way to do what I want then, with amavis?
Per-User attachment blocking [bug id 12136]
old thread but bump, this has come up again.. anyone with any new ideas on it ?