Koozali.org: home of the SME Server

[SOLVED]SMTP password fails if it includes double quotes (at the end or possibly

Offline Michail Pappas

  • *
  • 334
  • +1/-0
Today a number of packages were available on my 10.1 production box, one of them being smeserver-qpsmtpd-2.7.0-12.

One of my users that sends and retrieves mail using thunderbird over S/POP and Secure SMTP noted that he could retrieve email, but sending produced an incorrect password error message.

After tracking logs etc and changing the password to something completely different things worked again. Setting the password from web admin to what it previously was made the issue re-appear.

Thinking that this might have something to do with the characters in the password, I removed on a hunch its last character which was double-quotes ("). After doing so, the password was happily accepted when trying to send email.

Opened issue 12395 for it: https://bugs.koozali.org/show_bug.cgi?id=12395
« Last Edit: August 17, 2023, 06:21:56 AM by Michail Pappas »

Offline ReetP

  • *
  • 3,663
  • +5/-0
As per my #c4

https://bugs.koozali.org/show_bug.cgi?id=12395#c4

Quote
This is due to an issue with escaping passwords which use certain characters. I had some fixes and they got missed - my bad - as we were trying to fix a couple of different things at the same time :-(

See https://bugs.koozali.org/show_bug.cgi?id=10103 and related bugs plus 12193 cvm-unix

There are a couple of methods to solve this but not sure which is the best. JP is going to have a look at it later so a fix will be forthcoming PDQ.

Sorry for the aggro.

See the bug for temporary fixes.

========================================

Please note - the reason these things get missed is that we do not have enough people testing. Simple as that.

We are very few and we are not infallible.

We are trying to test multiple fixes and new features at the same time and things get missed. The more testers we have the less chance there are of mistakes.

It is in the hands of the community to help here.

Ask us if you want to help.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,671
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
fixed rpm is in smeupdates-testing


yum update smeserver-qpsmtpd --enablerepo=smeupdates-testing

needs testing and verifying it fixes the issue

Offline Michail Pappas

  • *
  • 334
  • +1/-0
needs testing and verifying it fixes the issue
Done, also changed the bug state to VERIFIED (hope I did not overstep here :) ).

Offline Jean-Philippe Pialasse

  • *
  • 2,671
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Done, also changed the bug state to VERIFIED (hope I did not overstep here :) ).

you did it perfectly!
keep on !

thank you for reporting, with details and being part of the verification actively.

This is how a community project can work!
thank you. 

Offline ReetP

  • *
  • 3,663
  • +5/-0
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation