SUSE Support

Here When You Need Us

mail plugin missing in YaST2 users module after upgrade from SLES 11 SP4 to SLES 15

This document (000019718) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server SLES 11 SP4
SUSE Linux Enterprise Server SLES 15
​​​​​SUSE Linux Enterprise Server SLES 15 SP1
SUSE Linux Enterprise Server SLES 15 SP2

Situation

After upgrade when you try to modify/add/remove email addresses from an user, the mail plugin in YaST2 Users module is missing. How to add/remove mail domains or email addresses now ?

Resolution

It is needed to do this via command line or use your favorite LDAP editor now.
The following commands are just examples, you need to modify them to match your Distinguished Name (DN), zone- or usernames and email address
  • Adding a new mail domain
create the domain with YaST DNS Module
create a ldif file add-maildomain.ldif to add the missing information (example anotherdomain.de)
dn: zoneName=anotherdomain.de,ou=DNS,dc=vmcshford,dc=suse,dc=de
changetype: modify
add: objectClass
objectClass: suseMailDomain
-
add: suseMailDomainMasquerading
suseMailDomainMasquerading: yes
-
add: suseMailDomainType
suseMailDomainType: local
use ldapmodify to apply the changes from the file
ldapmodify -H ldapi:// -D cn=Administrator,dc=vmcshford,dc=suse,dc=de -W -f add-maildomain.ldif
  • Removing a mail domain
use YaST2 DNS module to remove the domain
  • Add a email address for a existing domain to a user that has no email address assigned already e.g. The user has just been created on the system with YaST2 Users module (for an existing user do not add the lines with objectClass into the ldif !!)
create a ldif file add-mailaddress.ldif that contains the new email address for the user
dn: uid=imat,ou=people,dc=vmcshford,dc=suse,dc=de
changetype: modify
add: objectClass
objectClass: suseMailRecipient
-
add: suseMailAcceptAddress
suseMailAcceptAddress: imat@anotherdomain.de
use ldapmodify to apply the changes
ldapmodify -H ldapi:// -D cn=Administrator,dc=vmcshford,dc=suse,dc=de -W -f add-maildomain.ldif
  • Removeing an email address from a user
create a ldif file delete-mailaddress.ldif that contains the users email address to delete :
dn: uid=imat,ou=people,dc=vmcshford,dc=suse,dc=de
changetype: modify
delete: suseMailAcceptAddress
suseMailAcceptAddress: imat@anotherdomain.de
use ldapmodify to apply the changes
ldapmodify -H ldapi:// -D cn=Administrator,dc=vmcshford,dc=suse,dc=de -W -f delete-mailaddress.ldif 

Cause

The mail plugin from YaST2 Users has been removed from SLES 15. 

Additional Information

Here you find a list of some LDAP editors :
https://ldapwiki.com/wiki/LDAP%20Browsers

another one not listed there :
http://ldapbrowserlinux.com/
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019718
  • Creation Date: 18-Sep-2020
  • Modified Date:25-Sep-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.