[opensuse] opensuse yast mail config and ldap search for virtual users fail
Over the last weekend all of my email to my domains started to bounce. I have a set up that was created and I manage through the yast2 advance mail config. I use LDAP GSS Cyrus Postfix and Fetchmail and I hadnt made any changes since before the upgrade to 12.2 (still not at 12.3 as I have to summon up a lot of courage to upgrade my server - I am such a coward) The error I was receiving in the postfix log was status=bouncedstatus=bounced (User unknown in virtual alias table) Note I say was as I have now "fixed" it and this is for information. I tracked the issue down to the /etc/postfix/ldapuser_recipient_maps.cf file This has the following ldap search to map a virtual user to the mbox to deliver the message to: query_filter=(&(objectClass=suseMailRecipient)(suseMailAcceptAddress=%s)(! (mailEnabled=no))(|(!(suseDeliveryToFolder=no))(suseMailForwardAddress=*))) This looks inocculous and I was scratching my head until I discovered that my openldap database (which was originally created back in 11.4 if my memory servers me correct) does not have the attribute "mailEnabled" aginst any of my users. However because the query string doesnt test for the existence then this query succeeds but returns no results and hence no mail box. I therefore amended the query string (only first part) to remove the mailEnabled test. This has however removed my ability to disable an mbox - not a facility I use. I am a little concerned that each time I go into yast config it will overwrite this so does anyone know if there has been a schema update that I have missed and which schema this attribute is in? I'm not sure I should raise a bug as this is likely been caused due to my having missed a schema update Andrew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-07-24 a las 07:08 +0100, Andrew Colvin escribió:
I am a little concerned that each time I go into yast config it will overwrite this so does anyone know if there has been a schema update that I have missed and which schema this attribute is in? I'm not sure I should raise a bug as this is likely been caused due to my having missed a schema update
IF you did system upgrades all this time, it would be a bug if the schema was not updated for you. IMO. - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlHvqwMACgkQja8UbcUWM1ypfAD/Xtk10KeVp/beHNIHw7Nu+NPo 5SxWHPqSy0JBq9MCrE8A/iltGanWvxwmL3OTR0frN3CdjqB3j557mOaeEF/Myip9 =XyAW -----END PGP SIGNATURE-----
Andrew Colvin <andrew@acolvin.me.uk> wrote: <snip>
I am a little concerned that each time I go into yast config it will overwrite this
I recently setup email for opensuse 12.3 I came to not trust yast and manually edited postfix/main.cf exclusively. Maybe others have had success? Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-07-24 a las 07:28 -0400, Greg Freemer escribió:
I recently setup email for opensuse 12.3
I came to not trust yast and manually edited postfix/main.cf exclusively.
Maybe others have had success?
I do the initial setup via YaST, then take it from there myself. - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlHwBDcACgkQja8UbcUWM1y2igD/UDmrUNLmB5BE9lisyvSNnXJR hEOvWVLGdyTMf1X0hcsBAIg/fxC/jgGTtbTeg916y5RQ6sJeE41MPeV/bIFMKrTr =xLoR -----END PGP SIGNATURE-----
Am 24.07.2013 18:43, schrieb Carlos E. R.:
El 2013-07-24 a las 07:28 -0400, Greg Freemer escribió:
I recently setup email for opensuse 12.3
I came to not trust yast and manually edited postfix/main.cf exclusively.
Maybe others have had success?
I do the initial setup via YaST, then take it from there myself.
did anyone create a bug for it yet? I've just noticed the same issue that mailEnabled is not available even with fresh installations. So this is no update issue but a plain 12.3 one. Wolfgang
Am 28.07.2013 21:45, schrieb Wolfgang Rosenauer:
Am 24.07.2013 18:43, schrieb Carlos E. R.:
El 2013-07-24 a las 07:28 -0400, Greg Freemer escribió:
I recently setup email for opensuse 12.3
I came to not trust yast and manually edited postfix/main.cf exclusively.
Maybe others have had success?
I do the initial setup via YaST, then take it from there myself.
did anyone create a bug for it yet? I've just noticed the same issue that mailEnabled is not available even with fresh installations. So this is no update issue but a plain 12.3 one.
I've opened a bug now: https://bugzilla.novell.com/show_bug.cgi?id=831851 Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrew Colvin
-
Carlos E. R.
-
Greg Freemer
-
Wolfgang Rosenauer