So you are trying to limit mail attachments?
Enforcement for that should be done in first place on SMTP level probably. If you want it only for the webinterface it would need to be set via user configuration.
Check "changeuser --extendedoptions" which leads to --uploadfilesizelimit which is the setting used for mail attachments.
attachment.properties is meant for groupware object attachments only.