nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Sendmail Attachment Size & User Quota Restriction.

This is a discussion on Sendmail Attachment Size & User Quota Restriction. within the Mail Servers forums, part of the Mastering Servers category; 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 ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2008, 03:55 PM
Member
User
 
Join Date: Jul 2008
OS: Fedora
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
nishith is on a distinguished road
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.
Reply With Quote
  #2 (permalink)  
Old 30-12-2008, 08:52 PM
Junior Member
User
 
Join Date: Dec 2008
OS: Centos
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
senthilvael is on a distinguished road
Smile

Hi,
Currently i am not using sendmail. But for attachment size, following is the parameter to change...

define(`confMAX_MESSAGE_SIZE',maxsize)

Eg:

define(`confMAX_MESSAGE_SIZE',10485760)
(10Mb in bytes)

As you are are using roundcube, check your php.ini file for the following parameters.

upload_max_filesize
post_max_size
memory_limit


Test this in a test environment.


Regarding the quota, usrquota and grpquota is the only known option to me.
Reply With Quote
  #3 (permalink)  
Old 31-12-2008, 12:05 PM
Member
User
 
Join Date: Jul 2008
OS: Fedora
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
nishith is on a distinguished road
Thumbs up Problem Solved.

Dear Friend,

I did the same in Sendmail "to restrict attachment size" & i have made changes in "roundcube" also.

Though "roundcube" is based on php , I modified /etc/php.ini file for the same.

Thanks for your support,

Nishith Vyas.
Reply With Quote
Reply

Tags
linux , mail , mail server , mailbox , sendmail , unix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Squid Restriction vlinux1 Proxy Servers 3 03-01-2010 03:43 PM
why can't forward large email attachment? khaosregion Mail Servers 4 25-10-2007 11:49 PM
sendmail and mysql/user without home directory asim.mcp Getting started tutorials 0 07-07-2007 03:41 AM
vsftpd need restriction kasimani Networking, Firewalls and Security 1 12-03-2007 03:35 AM
Quota ricc Linux software 2 08-08-2006 03:20 AM


All times are GMT +5.5. The time now is 11:38 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38