Bug 1254206 - A typo mistake in the example for setting aliases in postfix in Installation guide of Satellite 5.7
Summary: A typo mistake in the example for setting aliases in postfix in Installation ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Docs Installation Guide
Version: 570
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: ---
Assignee: Dan Macpherson
QA Contact: Dan Macpherson
URL: https://access.redhat.com/documentati...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-17 12:33 UTC by Georgios Doumas
Modified: 2023-09-14 03:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-21 03:30:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Georgios Doumas 2015-08-17 12:33:47 UTC
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 12:47:09 UTC
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-21 03:30:36 UTC
Closing this bug due to inactivity and reporter's account closing.

Comment 6 Red Hat Bugzilla 2023-09-14 03:03:51 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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