Okay maybe iam getting blind or overlooking something.
Since you can set a size limit on the attachments in the Inotes client i thought you could do this for the Notes client as well.
Going through the server settings, policies and so on i came to the conclusion that it is not possible other than adding lotusscript to the querysave of the memo, appointment, (more) forms.
And iam not really a fan of that, it is a domino template, not a custom one. And i foresee some issues. Not that i can think of one right now.
And making a mail rule won't do either.
I could put the code in the onchange or validation event of the rich text elements. Again its the mail template.
So the big question is..... Is there some way to do this with a policy or any other way than tampering with the mail template.
thx
--->The answer of ken made me realize my question was not complete. to catch all the big mails we are planning to use the filesendr app an addon you can find them on openntf. In our test env. it works like a charm. But people can still send large attachments, filesendr will kick in but in the senders his mailfile the memo with attachment will be stored, or in DAOS when installed. We want to limit the size of the attachments allowed, without hacking the template.