It's always advisable to tell us what software you're using to send your mails. Do you use Postfix, Sendmail, ...? Also try to be a bit more specific when asking a question. Are you asking how to configure the maximum size any attachment can have when sending a mail? Or do you want to apply that limit only to certain users?