LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-10-2008, 05:25 AM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Cool 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.
 
Old 12-10-2008, 06:49 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Quote:
Originally Posted by nishith View Post
User Mail Attachment size. Native sendmail documentation isn't providing all stuff.
How about "MaxMessageSize"?


Quote:
Originally Posted by nishith View Post
If User Quota is the final solution for User limit,then I will do it.
Yes.
 
Old 12-10-2008, 07:03 AM   #3
nishith
Member
 
Registered: Aug 2008
Posts: 148

Original Poster
Rep: Reputation: 15
Cool

Quote:
Originally Posted by unSpawn View Post
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?

Last edited by nishith; 12-10-2008 at 07:08 AM.
 
Old 12-10-2008, 07:15 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Quote:
Originally Posted by nishith View Post
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.
 
Old 12-16-2008, 01:15 AM   #5
nishith
Member
 
Registered: Aug 2008
Posts: 148

Original Poster
Rep: Reputation: 15
Question

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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I edit attachment size in sendmail.cf or sendmail.mc deepak_message Linux - Software 1 10-23-2007 07:51 PM
user based ftp and sendmail restriction ahpin Linux - Security 1 08-28-2006 03:08 PM
Attachment size in Sendmail RajaRC Linux - General 6 03-22-2004 11:05 PM
set user quota size juno Linux - General 2 10-25-2002 03:42 AM
Sendmail Quota Restriction johnlee Linux - General 1 01-22-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration