View Issue Details

IDProjectCategoryView StatusLast Update
0004941SOGoBackend Mailpublic2020-01-17 14:54
ReporterChristian Mack Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
OSDebianOS Version10 Buster 
Product Version4.2.0 
Fixed in Version4.3.0 
Summary0004941: Spam Button with configured spam/ham email addresses produces "Request failed" error
Description

Having configured
SOGoJunkFolderName = "Spam";
SOGoMailJunkSettings = {
vendor = "generic";
junkEmailAddress = "spam.report@uni-konstanz.de";
notJunkEmailAddress = "ham.report@uni-konstanz.de";
limit = 1;
};
I get an "Request failed" error in web UI when selecting an email and pressing the "Junk" button.
There is no email sent to <spam.report@uni-konstanz.de> and the email is not moved to the Junk folder "Spam"!!!

If I disable/remove the whole "SOGoMailJunkSettings"-part, then SOGo moves the email into the Junk folder "Spam" without error.

Steps To Reproduce
  1. Set those options in sogo.conf and restart sogo
  2. Login to SOGo Webfrontend.
  3. Open "Mail" view.
  4. Select an email by clicking on the Icon in front of it in the email list.
  5. Press the "Junk" thump down button.
    => you get an "Request failed" error in the right upper corner. Nothing else happens
Additional Information

This is the stable 4.2.0 version, not a nightly.
With SOGoDebugRequests = YES; and ImapDebugEnabled = YES; I see the following in sogo.log

Jan 17 14:13:43 sogod [14953]: |SOGo| starting method 'POST' on uri '/SOGo/so/testuser/Mail/0/folderINBOX/markMessagesAsJunk'
C: connect to <0x0x560b8ab22710[NGInternetSocketAddress]: host=localhost not-filled>
S: <SMTP-Reply: code=220 line='bamenda.kim.uni-konstanz.de Universitaet Konstanz ESMTP ready.'>
C: EHLO sogo4b-test.kim.uni-konstanz.de
S: <SMTP-Reply: code=250 line='DSN'>
S: pipelining extension supported.
S: size extension supported.
S: plain auth extension supported.
C: QUIT
S: <SMTP-Reply: code=221 line='2.0.0 Bye'>
Jan 17 14:13:44 sogod [14953]: |SOGo| request took 0.594978 seconds to execute
Jan 17 14:13:44 sogod [14953]: 134.34.1.246 "POST /SOGo/so/testuser/Mail/0/folderINBOX/markMessagesAsJunk HTTP/1.1" 500 0/15 0.596 - - 0

So it does not authenticate nor send that spam email notification.
And we get an 500-error for unknown reason.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

sogo: master 62f64314

2020-01-17 09:53

francis


Details Diff
fix(mail): fix SMTP authentication when reporting spam/ham

Fixes 0004941
Affected Issues
0004941
mod - SoObjects/Mailer/SOGoMailFolder.m Diff File

Issue History

Date Modified Username Field Change
2020-01-17 13:50 Christian Mack New Issue
2020-01-17 14:54 francis Changeset attached => sogo master 62f64314
2020-01-17 14:54 francis Assigned To => francis
2020-01-17 14:54 francis Resolution open => fixed
2020-01-17 14:54 francis Status new => resolved
2020-01-17 14:54 francis Fixed in Version => 4.3.0