Bug 122614

Summary: postfix rpm misses /var/spool/postfix/etc directory
Product: Red Hat Enterprise Linux 3 Reporter: Henning Schmiedehausen <hps>
Component: postfixAssignee: John Dennis <jdennis>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:03:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to /etc/init.d/postfix to get queue_directory from configuration none

Description Henning Schmiedehausen 2004-05-06 11:40:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
The postfix RPM is missing the /var/spool/postfix/etc directory.

As a result of this, the /etc/resolv.conf files copied into
/var/spool/postfix/etc at startup time ends up as
/var/spool/postfix/etc   (file) instead of
/var/spool/postfix/etc/resolv.conf



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

How reproducible:
Always

Steps to Reproduce:
1. rpm -ql postfix | grep var/spool/postfix/etc

    

Actual Results:  nothing

Expected Results:  Should display /var/spool/postfix/etc

Additional info:

Postfix in chroot environment is probably not able to resolve hostnames.

Comment 1 Henning Schmiedehausen 2004-05-06 11:50:17 UTC
Well, the startup script changes really suck. You might want to learn
about changes in the configuration file (e.g. the queue_directory
setting), the postconf command and basically apply the attached patch.

The same bug pretty sure applies to Fedora.


Comment 2 Henning Schmiedehausen 2004-05-06 11:51:00 UTC
Created attachment 100037 [details]
patch to /etc/init.d/postfix to get queue_directory from configuration

Comment 3 John Dennis 2004-05-06 14:53:00 UTC
This has already been resolved, but perhaps not in the manner you
prefer. Just so you understand we are no longer putting postfix in a
chroot jail. Wieste is no longer recommending chroot jails for typical
installations, the security benefits are dwarfed by the configuration
and maintenance problems especially as more postfix installations take
advantage of other system services such as SASL, LDAP, pam, etc.

*** This bug has been marked as a duplicate of 111923 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:03:02 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.