Bug 340640

Summary: YaST mail server module hardcodes LDAP DN
Product: [openSUSE] openSUSE 10.3 Reporter: Alan Hughes <alanhughes>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alan Hughes 2007-11-09 17:24:33 UTC
The YaST mail server module hardcodes the use of an LDAP DN (ou=Mailserver,...) although the Postfix configuration has been modified to reference a different (and already existing) DN.

The problem exists in the file /usr/share/YaST2/modules/YaPI/MailServer.pm which contains the hardcoded DN. I would expect YaST to pick up the DN specified by in the Postfix configuration files (/etc/postfix/ldap*.cf) and use that.

Note that any LDAP DNs added by YaST as a consequence of changes to the mail configuration are inserted into location(s) in the LDAP directory specified in the Postfix configuration files, so some parts of YaST are behaving as expected.
Comment 1 Martin Mrazik 2007-11-13 15:14:34 UTC
This sounds more like a feature request for me -> lowering the severity to enhancement.
Comment 2 Peter Varkoly 2007-12-30 17:34:04 UTC
The configuration a mail-server is complicates in such a way that it is necessary to determine some defaults. If you would like to configure the mail server with yast2 please adhere to these defaults.