- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- dead.letter problem -- Can I call sendmail to proc...
Operating System - Linux
1820484
Members
2162
Online
109624
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
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
тАО05-02-2006 03:58 AM
тАО05-02-2006 03:58 AM
dead.letter problem -- Can I call sendmail to process again?
We had a problem with our aliases and by the time we discovered it, we now have over 2000 messages in /root/dead.letter. All mail in this dead.letter file is to different recipients. Our alias file is now correct. How can I get sendmail to process this file and populate all the correct mail boxes from the text within this dead.letter file? It is text only, no attachments.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 05:54 AM
тАО05-02-2006 05:54 AM
Re: dead.letter problem -- Can I call sendmail to process again?
Debbie,
Have you tried the 'formail' filter/command?
Perhaps something like
formail -ds dead.letter > newmail
cat newmail |formail -s sh -c 'cat >msg.$FILENO'
I think this should split up the contents into single files that can be placed back into the sendmail queue, and if you restart sendmail the messages should (theoretically) be reprocessed and sent.
Admittedly I've not played around too much with this but maybe this might provide you with something you could use.
Bryan
Have you tried the 'formail' filter/command?
Perhaps something like
formail -ds dead.letter > newmail
cat newmail |formail -s sh -c 'cat >msg.$FILENO'
I think this should split up the contents into single files that can be placed back into the sendmail queue, and if you restart sendmail the messages should (theoretically) be reprocessed and sent.
Admittedly I've not played around too much with this but maybe this might provide you with something you could use.
Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 05:56 AM
тАО05-02-2006 05:56 AM
Re: dead.letter problem -- Can I call sendmail to process again?
I'd also recommend backing that original dead.letter file up...just in case this command doesn't solve your problem.
Bryan
Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 03:29 AM
тАО05-03-2006 03:29 AM
Re: dead.letter problem -- Can I call sendmail to process again?
There is a detailed process on how to do excatly this situation in Chapter 21 of Nemeth et al's "Unix System Administration Handbook."
I'd type it in for you, but the section is long and detailed, and I'm not familiar enough with sendmail to know which parts are the most relevant.
I'd type it in for you, but the section is long and detailed, and I'm not familiar enough with sendmail to know which parts are the most relevant.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP