Red Hat Bugzilla – Bug 1254206
A typo mistake in the example for setting aliases in postfix in Installation guide of Satellite 5.7
Last modified: 2015-10-20 23:30:36 EDT
Description of problem:
In the Installation guide
we have the text :
2. Edit the /etc/aliases file on the mail server and add the following line:
rogerthat01: | /etc/smrsh/ack_enqueuer.pl
rogerthat01: "| /etc/smrsh/ack_enqueuer.pl"
In the http://www.postfix.org/aliases.5.html
we have the following text :
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):
Steps to Reproduce:
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 ""
Both examples published live:
Georgios, any further changes required?
Closing this bug due to inactivity and reporter's account closing.