- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- incomplete mails in mailbox when using disk quotas
Operating System - HP-UX
1753792
Members
7388
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
тАО11-22-2002 12:10 AM
тАО11-22-2002 12:10 AM
incomplete mails in mailbox when using disk quotas
When using disk quotas in file system /var/mail it happens that mails are written incompletly in mailbox file. The MDA rmail writes as long to mailbox file as the quota limit is not reached. When the limit is reached the mail remains with incomplete contents in the mailbox file. (It does not make a difference which MDA is used, procmail for instance behaves the same way.). Indeed the sender receives an error message
mail: cannot append to /var/mail/fmayer
mail: cannot create dead.letter
451 I/O error
that the mail could not be delivered and the mail is queued for 5 days as usual. I encountered this annoying effect in HP-UX 10.20, 11.0 and 11.i. Until now I have been using a wrapper around rmail which checks in advance whether the mail will fit into the mailbox. But I can't believe that there is no more elegant solution to this problem managed by HP-UX itself. Does anybody know a better solution?
Regards,
Fritz
mail: cannot append to /var/mail/fmayer
mail: cannot create dead.letter
451 I/O error
that the mail could not be delivered and the mail is queued for 5 days as usual. I encountered this annoying effect in HP-UX 10.20, 11.0 and 11.i. Until now I have been using a wrapper around rmail which checks in advance whether the mail will fit into the mailbox. But I can't believe that there is no more elegant solution to this problem managed by HP-UX itself. Does anybody know a better solution?
Regards,
Fritz
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 12:50 AM
тАО11-22-2002 12:50 AM
Re: incomplete mails in mailbox when using disk quotas
Frits,
Use soft quota's
Gideon
Use soft quota's
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 01:10 AM
тАО11-22-2002 01:10 AM
Re: incomplete mails in mailbox when using disk quotas
Fritz,
Yes if soft and hard quota's are the same this will happen. We solved this using 5 mb difference between soft and hard quota on /var.
Robert-Jan.
Yes if soft and hard quota's are the same this will happen. We solved this using 5 mb difference between soft and hard quota on /var.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 06:17 AM
тАО11-22-2002 06:17 AM
Re: incomplete mails in mailbox when using disk quotas
The wrapper is the right way to go - the key is putting the smarts in the wrapper and laying out the filesystems correctly (especially if you want to change a quota violation from a temp failure (4XX to a permanent failure).
Make
/var/mail
and
/var/spool/mqueue
separate filesystems.
Add quotas /var/mail.
Space out hard quota and soft quota limits.
Write a wrapper to bounce mail on soft quota violation (either via direct interrogation or by looking for mailbox bytes available).
Make
/var/mail
and
/var/spool/mqueue
separate filesystems.
Add quotas /var/mail.
Space out hard quota and soft quota limits.
Write a wrapper to bounce mail on soft quota violation (either via direct interrogation or by looking for mailbox bytes available).
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