Description of problem: After upgrading from 4.5 to 4.6 new mail to any local account can't be delivered, including the root account. Mail can be delivered outside the systems and to users locally who have accounts in LDAP. Version-Release number of selected component (if applicable): sendmail-8.13.1-3.2.el4 How reproducible: Always happens. Steps to Reproduce: 1. echo test | mail -s testing root@localhost Actual results: I've attached a file that includes the section from /var/log/maillog when running "echo test | mail -s testing root@localhost" and commands showing the output of ps and my attempt at flushing the queue. In short the mail is sent, never shows up in the local mbox and is locked in /var/spool/mqueue. Expected results: Mail to be delivered to local mailbox. Additional info: I have a mixed batch of 4.6 systems with regards to the mail configuration. Some of them are running postfix and some sendmail. The only ones experiencing the problem as reported are the ones running sendmail. All the 4.6/sendmail boxes stopped local delivery to the root account the day I upgraded to 4.6. I rebooted one of the boxes after deleting all files in /var/spool/mqueue. This did not fix anything, delivery to the root account still locks.
Created attachment 290770 [details] logs and command output
(In reply to comment #0) > Description of problem: > > After upgrading from 4.5 to 4.6 new mail to any local account can't be > delivered, including the root account. Mail can be delivered outside the > systems and to users locally who have accounts in LDAP. > > Version-Release number of selected component (if applicable): > > sendmail-8.13.1-3.2.el4 > > How reproducible: > > Always happens. > > Steps to Reproduce: > 1. echo test | mail -s testing root@localhost > > Actual results: > > I've attached a file that includes the section from /var/log/maillog when > running "echo test | mail -s testing root@localhost" and commands showing the > output of ps and my attempt at flushing the queue. In short the mail is sent, > never shows up in the local mbox and is locked in /var/spool/mqueue. > > Expected results: > > Mail to be delivered to local mailbox. > > Additional info: > > I have a mixed batch of 4.6 systems with regards to the mail configuration. > Some of them are running postfix and some sendmail. The only ones experiencing > the problem as reported are the ones running sendmail. All the 4.6/sendmail > boxes stopped local delivery to the root account the day I upgraded to 4.6. I > rebooted one of the boxes after deleting all files in /var/spool/mqueue. This > did not fix anything, delivery to the root account still locks. I figured this out. In /etc/ldap.conf the following line was causing the problem. "nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon" The removal of "root" from the line or commenting out the line fixed the mail problem.
Reassigning to openldap.
/etc/ldap.conf is owned by nss_ldap, not ldap -> reassigning.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.