Bug 22682 - sendmail-8.11.1-1 error in sendmail.spec file
sendmail-8.11.1-1 error in sendmail.spec file
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Need Real Name
Depends On:
  Show dependency treegraph
Reported: 2000-12-21 13:22 EST by Jaroslaw Sosnicki
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-12-21 14:44:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jaroslaw Sosnicki 2000-12-21 13:22:07 EST
I run in to the problem when upgrading my sendmail. The problem surfaced 
when my server failed to relay messages. Upon imvestigation of the problem 
I found that legacy configuration is not being translated to new format 
due to the bug in sendmail.spec script. 
Ofending line is 231, missing \ in front of $1
Code that works:
for oldfile in relay_allow ip_allow name_allow ; do
    if [ -f /etc/mail/$oldfile ] ; then
        cat /etc/mail/$oldfile | \
                awk "BEGIN { print \"# Entries from obsoleted /etc/mail/
$oldfile\" ;} \
             { print \$1\" RELAY\" }" >> access
       cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
Comment 1 Jaroslaw Sosnicki 2000-12-21 14:44:29 EST
sendmail-8.11.1-1 is not on beta1 source CD

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