Description of problem: When password reset is attempted for user with email root@localhost, WebUI reports "Email sent.", but email is not sent and error_log says "Recipients (root@localhost, , ) failed validate_allowed_recipients check, mail not sent.". Version-Release number of selected component (if applicable): spacewalk-html-1.5.15-1.el6.noarch How reproducible: always Steps to Reproduce: 1. Create user with login "root@localhost" 2. Forgot password for him and log out form Spacewalk WebUI 3. Go to https://FQDN/help/forgot_password.pxt and try to reset password for him Actual results: WebUI says "Email sent.". Error log says: # tail -1 /var/log/httpd/error_log [Wed Jul 20 09:24:21 2011] [error] Recipients (root@localhost, , ) failed validate_allowed_recipients check, mail not sent. Email was not sent. Expected results: WebUI should not say email was sent when it was not, or email validation should allow this email to be sent.
This is most probably because of: web.disallowed_mail_domains = localhost.localdomain, localhost in your /etc/rhn/default/rhn_web.conf But I think, we may still want to revisit this setting and described behavior. The problem is that within Spacewalk there are multiple ways how to send an e-mail and some of them disregards this setting. For example tracebacks mails as well as mails from Taskomatic are send to localhost, even when it's set in disallowed_mail_domains.
Aligning under space16.
Emails to locahost are now allowed by default. Spacewalk master commit cbfb04ee39c85df3d2005593a6c4507e0e2084f8.
Spacewalk 1.6 has been released.