- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: limiting attachment size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 08:22 AM
10-25-2004 08:22 AM
limiting attachment size
How do I limit the attachment size for e-mails?
eg. user1 - can send 1MB attachments
user2 - can send 200kb attachments
I am running sendmail with the MailScanner/SpamAssassin packages.
Regards.
Jano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2004 10:55 AM
10-25-2004 10:55 AM
Re: limiting attachment size
sendmail does not have this functionality built in native, but it probably can be done with sendmail.mc macros, but on a server basis, not user by user.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 12:33 AM
10-26-2004 12:33 AM
Re: limiting attachment size
As you say I am looking for a solution to implement on the server side.
Are there any comercial packages available?
Regards.
Jano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 03:35 AM
10-26-2004 03:35 AM
Re: limiting attachment size
1. Locate your sendmail.cf
2. Edit your sendmail.cf and search for the following line:
# maximum message size
#O MaxMessageSize=1000000
3. Simply uncomment the line begining with #0 to look as follows:
O MaxMessageSize=1000000
4. You may then set the mail size limit to whatever you want from there.
5. Save your sendmail.cf and restart sendmail.
Hope this helps, should take less than 2 minutes to implement.
Cheers,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2004 02:20 AM
10-27-2004 02:20 AM
Re: limiting attachment size
I solved the problem by updating MailScanner, and using the "Maximum Attachment Size" field with a ruleset to specify the attachment size per user.
(I wish I could award myself points. :) )
Regards.
Jano