6.0.0-beta1
8/10/25

[#5308] realms shouldn't get added to smtp auth username
Summary realms shouldn't get added to smtp auth username
Queue IMP
Queue Version 4.1.2
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester m.petzsch (at) net-hoster (dot) de
Created 04/25/2007 (6682 days ago)
Due
Updated 04/26/2007 (6681 days ago)
Assigned 04/26/2007 (6681 days ago)
Resolved 04/26/2007 (6681 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/26/2007 01:57:52 PM Jan Schneider State ⇒ Not A Bug
 
04/26/2007 01:44:56 PM m (dot) petzsch (at) net-hoster (dot) de Comment #6 Reply to this comment
Just had a TCP chat with the webmail through netcat and noticed that 
it tryed to authenticate with my admin users email adress on the 
correctly choosen server from server list. So I guess it's mistake in 
my configuration.



So this can be closed.



Sorry for bothering.
04/26/2007 10:04:46 AM Jan Schneider Comment #5 Reply to this comment
Where there any recent changes to the code you quoted?
No, there hasn't been any changes in months, if not years.
04/26/2007 09:56:06 AM markus (at) petzsch (dot) eu Comment #4 Reply to this comment
I've only found in the logfiles that auths on the remote smtp server 
failed, not which usernames where used and know that it worked before 
turning the realms on.



I'll update my horde version today to see if that solves it.



Where there any recent changes to the code you quoted?
04/26/2007 09:25:25 AM Jan Schneider Comment #3 Reply to this comment
No objections, but this is exactly what's happening today. Comment 
from IMP_Compose::sendMessage():



         /* If SMTP authentication has been requested, use either the username

          * and password provided in the configuration or populate the username

          * and password fields based on the current values for the user. Note

          * that we assume that the username and password values from the

          * current IMAP / POP3 connection are valid for SMTP authentication as

          * well. */


04/26/2007 04:19:27 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
I guess it makes sense to me that the imap username should also be the 
smtp username... any objections?
04/25/2007 09:04:28 PM m (dot) petzsch (at) net-hoster (dot) de Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ realms shouldn't get added to smtp auth username
Type ⇒ Bug
Reply to this comment
Hello,



since I'm using realms for logging in to several mailservers on one 
horde interface, I can't send any emails anymore.



e.g. my username ist test@example.com on server3

to be able to recognize this user from test@example.com on server2 the 
realm @server2 or @server3 gets added in the database. Nevertheless 
test@example.com is still used as the IMAP username on the selected 
server. Each of these servers also works as an individual smtp host. 
But when authenticating on the smtp host the users fail as it seems 
their username got turned into test@example.com@server3 which is of 
course not recognized by the sasl authdaemon.



I'm not 100% sure if it's a bug or a feature, but in my current 
configuation it shurely is an obstacle.



Kind Regards



Markus Petzsch

Saved Queries