HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Orphaned 'd' files in sendmail queue
Operating System - HP-UX
1825803
Members
2700
Online
109687
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
Forums
Discussions
Discussions
Discussions
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
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
02-06-2008 10:14 AM
02-06-2008 10:14 AM
Orphaned 'd' files in sendmail queue
Can anyone help me understand how 'd' (data) files can become orphaned
in my sendmail queue?
Config is multiple sendmail boxes behind hardware vip. This acts as
relay for applications sending emails to known/registered customers,
so bad address volume is low. Sendmail servers run single queue.
Normally one will see this sort of thing:
# mailq | grep Total
Total requests: 105
# ls /var/spool/mqueue/ | grep -c ^d
105
# ls /var/spool/mqueue/ | grep -c ^q
105
But occasionally I will find that there are a significant number of
orphaned 'd' files, so I'll see something like this:
# mailq | grep Total
Total requests: 200
# ls /var/spool/mqueue/ | grep -c ^d
12406
# ls /var/spool/mqueue/ | grep -c ^q
200
Further investigation will show that the 'd' files with no
corresponding 'q' files are older than the sendmail retry timeout of
36 hours (sometimes they are a few weeks old even). Sometimes there is
a 'Q' file for the same message (what are these?), but most often
there only the 'd' file.
many of them will have a log such as this:
Jan 10 12:09:52 mail sendmail[18710]: m0AK9m5w018688: m0AK9q5v018710:
postmaster notify: Host unknown (Name server: somedomain.com: host not
found)
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: to=root,
delay=00:00:01, xdelay=00:00:01, mailer=local, pri=35234, dsn=5.0.0,
stat=Can't create output
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: m0AK9q5w018710:
return to sender: Can't create output
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: Losing ./
qfm0AK9q5v018710: savemail panic
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: SYSERR(root):
savemail: cannot save rejected email anywhere
Can anyone help me understand how this is happening?
in my sendmail queue?
Config is multiple sendmail boxes behind hardware vip. This acts as
relay for applications sending emails to known/registered customers,
so bad address volume is low. Sendmail servers run single queue.
Normally one will see this sort of thing:
# mailq | grep Total
Total requests: 105
# ls /var/spool/mqueue/ | grep -c ^d
105
# ls /var/spool/mqueue/ | grep -c ^q
105
But occasionally I will find that there are a significant number of
orphaned 'd' files, so I'll see something like this:
# mailq | grep Total
Total requests: 200
# ls /var/spool/mqueue/ | grep -c ^d
12406
# ls /var/spool/mqueue/ | grep -c ^q
200
Further investigation will show that the 'd' files with no
corresponding 'q' files are older than the sendmail retry timeout of
36 hours (sometimes they are a few weeks old even). Sometimes there is
a 'Q' file for the same message (what are these?), but most often
there only the 'd' file.
many of them will have a log such as this:
Jan 10 12:09:52 mail sendmail[18710]: m0AK9m5w018688: m0AK9q5v018710:
postmaster notify: Host unknown (Name server: somedomain.com: host not
found)
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: to=root,
delay=00:00:01, xdelay=00:00:01, mailer=local, pri=35234, dsn=5.0.0,
stat=Can't create output
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: m0AK9q5w018710:
return to sender: Can't create output
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: Losing ./
qfm0AK9q5v018710: savemail panic
Jan 10 12:09:53 mail sendmail[18710]: m0AK9q5v018710: SYSERR(root):
savemail: cannot save rejected email anywhere
Can anyone help me understand how this is happening?
Life is a continues learning process
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2008 11:45 AM
02-06-2008 11:45 AM
Re: Orphaned 'd' files in sendmail queue
It is very typical to end up with old "df" files in /var/mqueue. They are partial messages of aborted SMTP connections for a variety of reasons. You should delete anything that is older than 5 days (that is the 5-day undeliverable setting in sendmail).
You should probably use a "find /var/mqueeu -mtime ..." command to delete them.
You should probably use a "find /var/mqueeu -mtime ..." command to delete them.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP