- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To limit mail box size.
Operating System - HP-UX
1753774
Members
6917
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-22-2004 05:35 PM
тАО07-22-2004 05:35 PM
To limit mail box size.
Hi,
I am using sendmail/Qpoper(POP3) on HPUX, would like to restrict mail box size of each user.
And is it possible to truncate automatically of mails older than one week or so?
Thanks in advance.
Sudhakar
I am using sendmail/Qpoper(POP3) on HPUX, would like to restrict mail box size of each user.
And is it possible to truncate automatically of mails older than one week or so?
Thanks in advance.
Sudhakar
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2004 07:27 PM
тАО07-22-2004 07:27 PM
Re: To limit mail box size.
Hi
HP bases on the public sendmail so
go to
http://www.sendmail.org/
search on size
get
How to limit the size of mail separately for each recipient?
There is no simple solution for this. It might be easy if the sender announces the (correct) size of the e-mail via SIZE= in the MAIL FROM: command. In this case, it would be possible to compare that size against the allowed size for each recipient when those are specified by RCPT TO:. However, if the size isn't given, it can be only determined after all recipients have been given. In that case, the mail might be accepted for some but not for others. Hence the solution to have quota on mail spool might be best. Another (crude) workaround is to define different mails with different size restrictions and select those accordingly to the recipients limitations.
Quota on mail spool?
This is not a sendmail problem, but one of the local delivery agent. Check your Mlocal line in your sendmail.cf. If you have procmail you're settled, it obeys quotas. So you can install quotas on your mailspool (check with your OS version, e.g., man quota), and everything should work. You can also tell procmail to deliver e-mail into the HOME directory of the user, so you have solved several problems at once.
Steve Steel
HP bases on the public sendmail so
go to
http://www.sendmail.org/
search on size
get
How to limit the size of mail separately for each recipient?
There is no simple solution for this. It might be easy if the sender announces the (correct) size of the e-mail via SIZE= in the MAIL FROM: command. In this case, it would be possible to compare that size against the allowed size for each recipient when those are specified by RCPT TO:. However, if the size isn't given, it can be only determined after all recipients have been given. In that case, the mail might be accepted for some but not for others. Hence the solution to have quota on mail spool might be best. Another (crude) workaround is to define different mails with different size restrictions and select those accordingly to the recipients limitations.
Quota on mail spool?
This is not a sendmail problem, but one of the local delivery agent. Check your Mlocal line in your sendmail.cf. If you have procmail you're settled, it obeys quotas. So you can install quotas on your mailspool (check with your OS version, e.g., man quota), and everything should work. You can also tell procmail to deliver e-mail into the HOME directory of the user, so you have solved several problems at once.
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 09:53 AM
тАО07-29-2004 09:53 AM
Re: To limit mail box size.
mailbox size management isn't really a function of sendmail. Using quoatas (man quota) and/or tweaking the local delivery agent (by default rmail) you can change the behavior of sendmail to queue or reject mail for full mailboxes. Most people would replace rmail with a smarter LDA like procmail.
The techniques can be found on the comp.mail.sendmail newsgroup.
Truncating mail would require that you lock the mail box and filter out mail over a certain size. This would be a scripting exercise.
The techniques can be found on the comp.mail.sendmail newsgroup.
Truncating mail would require that you lock the mail box and filter out mail over a certain size. This would be a scripting exercise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 02:59 PM
тАО07-29-2004 02:59 PM
Re: To limit mail box size.
The mailbox is on the users home directory. Indirectly you can limit mailbox size by putting a quota on the overall user.
SEP
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP