Bug 831851

Summary: user_recipient_maps LDAP filter set by yast2-mail contains non-existant mailEnabled
Product: [openSUSE] openSUSE 12.3 Reporter: Wolfgang Rosenauer <wolfgang>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Rosenauer 2013-07-29 05:29:22 UTC
/usr/share/YaST2/modules/YaPI/MailServer.pm sets:

'user_recipient_maps'     => '(&(objectClass=suseMailRecipient)(suseMailAcceptAddress=%s)(!(mailEnabled=no))(|(!(suseDeliveryToFolder=no))(suseMailForwardAddress=*)))',

as LDAP filter for user recipients.

The LDAP structure created by YaST does not contain that attribute at all and grepping for it in /etc/openldap/schema/ does not show any schema containing it.

But that (!(mailEnabled=no)) blocks Postfix from accepting any aliases as managed in LDAP.
Comment 1 Peter Varkoly 2018-01-13 19:51:17 UTC
yast2 mail ldap support was dropped.