6.0.0-beta1
7/17/25

[#7388] SMTP AUTH failure when accepting Kronolith invitation
Summary SMTP AUTH failure when accepting Kronolith invitation
Queue IMP
Queue Version 4.2
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester arjen+horde (at) de-korte (dot) org
Created 09/24/2008 (6140 days ago)
Due
Updated 01/12/2010 (5665 days ago)
Assigned 11/17/2008 (6086 days ago)
Resolved 01/07/2009 (6035 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
01/12/2010 11:56:40 PM CVS Commit Comment #7 Reply to this comment
Changes have been made in Git for this ticket:

Use all credentials and settings from IMP's mailer configuration (Bug #7388).

http://git.horde.org/diff.php/imp/lib/Mime/Viewer/itip.php?rt=horde-git&r1=0c9f12977d718a9a8a4ff8e59ce27d60e51d0f76&r2=f21bacb50bcbf11f40b1fa6d046ec8a6a0e36d6f
01/07/2009 06:58:59 PM Jan Schneider Comment #6
State ⇒ Resolved
Reply to this comment
Added to Git and CVS.
11/17/2008 04:46:33 PM Jan Schneider Patch ⇒ Yes
 
11/17/2008 04:46:18 PM Jan Schneider State ⇒ Assigned
 
11/17/2008 04:07:55 PM p (at) rdus (dot) de Comment #4 Reply to this comment
This did not fix the issue for me as the current username and 
credential were not transferred with the parameters. 
imp/lib/Compose.php does add the current user and the password to the 
parameters before sending mail.



The following patch fixed the issue for me:



http://hg.pardus.de/cgi-bin/hg.cgi/horde/HORDE/file/0f8c1b39f7eb/imp/HK-GW-Auth_for_invitations.patch
10/07/2008 12:36:51 PM Jan Schneider Comment #3
State ⇒ Resolved
Assigned to Jan Schneider
Reply to this comment
Fixed for IMP 4.3.1.
10/07/2008 12:36:09 PM CVS Commit Comment #2 Reply to this comment
09/24/2008 05:32:31 PM arjen+horde (at) de-korte (dot) org Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ SMTP AUTH failure when accepting Kronolith invitation
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I have configured Horde to use SMTP AUTH for submitting messages 
through 'config/conf.php':



     $conf['mailer']['params']['port'] = 587;

     $conf['mailer']['params']['auth'] = true;

     $conf['mailer']['type'] = 'smtp';



This works just fine when writing new messages or sending replies:



Sep 24 16:37:57 mail postfix/smtpd[19746]: connect from localhost[127.0.0.1]

Sep 24 16:37:57 mail postfix/smtpd[19746]: setting up TLS connection 
from localhost[127.0.0.1]

Sep 24 16:37:58 mail postfix/smtpd[19746]: Anonymous TLS connection 
established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256

Sep 24 16:37:58 mail postfix/smtpd[19746]: 49B7A6041C: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username=user@example.com

Sep 24 16:37:58 mail postfix/smtpd[19746]: disconnect from 
localhost[127.0.0.1]



The exception to this rule is, when I want to accept/deny an 
invitation that was send through Kronolith. After hitting the 'Go' 
button, the following error message appears:



"authentication failure [SMTP: Invalid response code received from 
server (code: 535, response: 5.7.8 Error: authentication failed: 
generic failure)]."



In the mailserver logs is logged at the same time:



Sep 24 19:09:28 mail postfix/smtpd[21873]: connect from localhost[127.0.0.1]

Sep 24 19:09:28 mail postfix/smtpd[21873]: setting up TLS connection 
from localhost[127.0.0.1]

Sep 24 19:09:29 mail postfix/smtpd[21873]: Anonymous TLS connection 
established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256

Sep 24 19:09:29 mail postfix/smtpd[21873]: warning: SASL 
authentication failure: All-whitespace username.

Sep 24 19:09:29 mail postfix/smtpd[21873]: warning: 
localhost[127.0.0.1]: SASL LOGIN authentication failed: generic failure

Sep 24 19:09:29 mail postfix/smtpd[21873]: disconnect from 
localhost[127.0.0.1]



Accepting messages works just fine when I use the build in sendmail 
binary, but not when the replies go through SMTP AUTH. I would like to 
use SMTP AUTH, so that I don't have to duplicate the existing 
'smtpd_sender_login_maps' that prevent From address spoofing.

Saved Queries