LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sendmail Attachment Size & User Quota Restriction. (https://www.linuxquestions.org/questions/linux-server-73/sendmail-attachment-size-and-user-quota-restriction-689546/)

nishith 12-10-2008 05:25 AM

Sendmail Attachment Size & User Quota Restriction.
 
Using "sendmail-8.14.1-2" version of sendmail on my Fedora 7,i 386 OS platform.

I am using "RoundCube" Webmail as a GUI service to send/receive mails.It supports only IMAP Protocol as an Open Source Project.

Now,I want to restrict User Quota in Sendmail as well as User Mail Attachment size. Native sendmail documentation isn't providing all stuff.

So,I would like to know that How to limit User Quota & Attachment size?

It is also true that Sendmail uses native linux OS users as a Mail service,So I can implement User Quota & Group Quota also.

But,first tell me the easiest way.If User Quota is the final solution for User limit,then I will do it.

Please let me know how to restrict User Mail Attachment size in sendmail?

Waiting,
Nishith Vyas.

unSpawn 12-10-2008 06:49 AM

Quote:

Originally Posted by nishith (Post 3370252)
User Mail Attachment size. Native sendmail documentation isn't providing all stuff.

How about "MaxMessageSize"?


Quote:

Originally Posted by nishith (Post 3370252)
If User Quota is the final solution for User limit,then I will do it.

Yes.

nishith 12-10-2008 07:03 AM

Quote:

Originally Posted by unSpawn (Post 3370332)
How about "MaxMessageSize"?



Yes.

I haven't found MaxMessageSize in "sendmail.mc" file.What should i do now?

I found MaxMessageSize in "sendmail.cf" file.By default it is showing "0" number.

Now,to set it on 7 MB,what changes i should do?

I just want to know the numeric number of 7 MB. What to write. either 7000 KB or 7000000 bytes?

unSpawn 12-10-2008 07:15 AM

Quote:

Originally Posted by nishith (Post 3370346)
I haven't found MaxMessageSize in "sendmail.mc" file.What should i do now?

I found MaxMessageSize in "sendmail.cf" file.By default it is showing "0" number.

Now,to set it on 7 MB,what changes i should do?

I just want to know the numeric number of 7 MB. What to write. either 7000 KB or 7000000 bytes?

7000000. Maybe read your Sendmail docs about rebuilding configs. You might have got a /etc/mail/Makefile.

nishith 12-16-2008 01:15 AM

Sorry for duplicate post. Actually, I would like to know the default outgoing attachment size modification.

By setting MaxMessageSize=7000000 bytes, ant sender can send me an attachment which is having 7 MB of size.

But, MaxMessageSize won't apply for outgoing mails. Still I mail server is showing 2 MB max upload data size.

I haven't found any solution in sendmail.cf & mc file.

What to do?


All times are GMT -5. The time now is 10:25 AM.