-
Bug
-
Resolution: Can't Do
-
Major
-
None
-
RH254 - RHEL 7 1 20140711
-
None
-
6
URL:
Reporter RHNID:
Section: -
Language:
Workaround:
Description: The grading script greps /etc/postfix/main.cf to determine if correct options are set. There are multiple issues with that :
- Even lines starting with '#' match
- Parsing 'postconf' output would be more correct and much more reliable
This has been uncovered by the check for 127.0.0.1 and ::1 in the 'mynetworks' parameter :
- The IPv4 grep my find the original comment and be happy : bad, but since the default is fine, it's okay in the end.
- The IPv6 grep doesn't find what it expects and returns a FAIL while the original value for the parameter does contain what it's looking for, so it should PASS. Changing the grep to use postconf's output would be enough to fix this particular issue.
The mydestination check is also completely useless, since it's fine with any values.
Attached is a patch which fixes all of these problems.
- is cloned by
-
PTL-5561 RH358-12: [RH254] Lab smtp-nullclient grade is broken
-
- Closed
-