Limit mail size

Somebody know to limit a mail (not the mail file).
Some users send attachment (more or less 3 Mb). I want to limit that (in Notes mail and SMTP mail)
Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

At a previous employer, they limited the size of mail memos (or attachments) by modifying the mail template.  I don't know the details, but at some point before the mail was sent they did a test of the size of any attachments and displayed a message if any of them were too large.
Both the R4x SMTP MTA and R5 Native router allow you to control outbound message sizes at the server config layer (w/out modifying mail templates or writing an unauthorized agent for the

For the R4 SMTP MTA, you will find the field "Maximum Outbound Msg Size" on the server document under the Internet Mail (SMTP) section.  A setting of zero (the default) indicates "unlimited" and any other value is interpreted as the size in kilobytes.

For the R5 Native router, this setting has moved to the Configuration document under the tabs: Router/SMTP > Restrictions and Controls > Restrictions.   Again the default value is zero (indicating unlimited) and setting is in kb.

Although I haven't tested it, the R5 method should be effective for both Notes and SMTP outbound mail.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rfharris' answer is obviously better than mine.  Besides, that's probably *how* my previous employer enforced the limit anyway.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.