pizzaco
1. Throttle the number of messages a user can send over X amount of time.
2. Scan messages users are sending for spamming-looking content.
Are either of these easily achievable with SME? Are there other things we should be doing?
1) Not quite what you are asking for, but you can easily limit the number of concurrent messages being sent both local & remote using db settings. This applies to the whole server (all users) rather than a single user. Search forums on ConcurrencyLocal and ConcurrencyRemote
config setprop qmail ConcurrencyLocal 4
config setprop qmail ConcurrencyRemote 10
signal-event email-update
On a busy server sending thousands of messages you may not want to reduce these settings as mail flow will be slower.
Although not specifically needed as db commands exist, you can create custom templates in /etc/e-smith/templates-custom/var/qmail/control/concurrencyremote & so on
see the originals in
/etc/e-smith/templates/var/qmail/control/concurrencylocal
and
/etc/e-smith/templates/var/qmail/control/concurrencyremote
Maybe you could copy these to the /etc/e-smith/templates-user-custom tree to modify individual users
2) Probably with a bit of work making custom templates etc you could control scanning behaviour on a per user basis, but you would need to know what you are doing to achieve this, or get a developer to do the work if they felt your request was justifiable or you offered to fund the development work.
I recall when spam/virus scanning was brought in a few versions of sme ago, that it was also scanning outgoing messages & this was deemed not desirable, so was changed just to scan incoming. On that basis it could be re-enabled. My memory is a bit vague on this so I wait to be corrected.
I'm sure those here with a bit more specific knowledge could help, so I think this is possible to achieve.
I STRONGLY suggest you read all of the FAQ Email section, linked at top of forums.