Bug 1254206 - A typo mistake in the example for setting aliases in postfix in Installation guide of Satellite 5.7 [NEEDINFO]
A typo mistake in the example for setting aliases in postfix in Installation ...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Docs Installation Guide (Show other bugs)
570
Unspecified Linux
high Severity medium
: ---
: ---
Assigned To: Dan Macpherson
Dan Macpherson
https://access.redhat.com/documentati...
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-17 08:33 EDT by Georgios Doumas
Modified: 2015-10-20 23:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-20 23:30:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
dmacpher: needinfo? (gdoumas)


Attachments (Terms of Use)

  None (edit)
Description Georgios Doumas 2015-08-17 08:33:47 EDT
Description of problem:
In the Installation guide 
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Installation_Guide/index.html
we have the text : 
5.2.1. Sendmail  
  2. Edit the /etc/aliases file on the mail server and add the following line:
    rogerthat01: | /etc/smrsh/ack_enqueuer.pl

Correct is 
    rogerthat01: |/etc/smrsh/ack_enqueuer.pl     
or 
    rogerthat01: "| /etc/smrsh/ack_enqueuer.pl"
In the http://www.postfix.org/aliases.5.html
we have the following text : 

|command
              Mail  is piped into command. Commands that contain special char-
              acters, such as whitespace, should be  enclosed  between  double
              quotes. See local(8) for details of delivery to command.

              When  the  command  fails, a limited amount of command output is
              mailed back to the  sender.   The  file  /usr/include/sysexits.h
              defines  the expected exit status codes. For example, use "|exit
              67" to simulate a "user unknown" error, and "|exit 0" to  imple-
              ment an expensive black hole.

so I suppose it our specific case both corrections are applicable , either having no space after the pipe | , or using "" to enclose the whole thing.
(if the command was something like 
   rogerthat01: "|/etc/smrsh/ack_enqueuer.pl some_option_here"
then only the correction with "" would aply)

The https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/User_Guide/index.html  , has it in correct format , inside "".

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Georgios Doumas 2015-08-17 08:47:09 EDT
The User guide correct example is at 
6.4.3. Redirecting Notifications

The same thing as an example can be seen in the Installation Guide 
under 5.2.1. Sendmail
rogerthat01:    | /etc/smrsh/ack_queuer.pl
but I could not find a straight-forward guide/man-pages for sendmail , to see how the format should be.

The Installation Guide for 5.6 has the same error 
The instructions for sendmail and postfix have again no "" , while the user guide encloses in ""
Comment 5 Dan Macpherson 2015-10-20 23:30:36 EDT
Closing this bug due to inactivity and reporter's account closing.

Note You need to log in before you can comment on or make changes to this bug.