HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=19)
-   -   mailuser login malformed (http://www.howtoforge.com/forums/showthread.php?t=15889)

CaptainBalou 1st October 2007 10:40

mailuser login malformed
 
Hello folks,

I try to login to my https://www.domain.com/mailuser Interface but it won't work even the "login mailuser" is activated. My user data is as follows:

Mailalias: user@domain.com
real user name: domain.com_user

The best would be that the users can login with their email alias names. But I've read in other threads that this is not possible. Am I right?

So I try to login with username "domain.com_user" and the following message appears in mail.log:

Code:

Oct  1 10:37:17 server dovecot: pop3-login: Disconnected: user=<_domain.com_user>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
I think this isn't correct because of the leading "_" in the user name. Does somebody know if this is the reason for that? And what should I do to fix it?

Regards
Marco

till 1st October 2007 10:41

In the mailuser login, users can login with their email alias.

CaptainBalou 1st October 2007 10:43

Hey Till, you're really fast in answering threads. :-)

They can login with their alias? Wow. So I misunderstood that in the other thread. But they should also be able to login with their real user name don't they?

till 1st October 2007 10:57

Quote:

Originally Posted by CaptainBalou
But they should also be able to login with their real user name don't they?

No, the current implementation does a lookup for the email address, so a login is only possible with the email address of a user.

CaptainBalou 1st October 2007 11:03

Oh, so I complete mixed it up. Ok, now I'm on the right way.

But nevertheless: No login is possible with the email alias. The login dialog shows a message "Fehler: Username unbekannt" (like "Error: username unknown" for all non-Germans :-) ) if I try to login with the email address. The mail.log says nothing. I'm confursed.

till 1st October 2007 11:11

Hmm, thats starnge. The mailuser login is enabled for this site?

For this login, ISPConfig tries to authenticate with pop3 on localhost, so you should at least see a failed pop3 login in your mail log.

CaptainBalou 1st October 2007 11:15

I feel tha same: strange things happens. ;-)

If I disable "mailuser login" the message "mailuser login disabled" appears instead the other message. So I'm sure to have it correctly enabled.

I've read in the manual that it is done via pop3, so I enabled it in dovecot. Before I got the message "cannot connect to host 'localhost'". So I'm also sure to enabled it. :-)

But there is no message in the mail.log file. Do I have to setup some special thins for pop3 in dovecot.conf?

CaptainBalou 1st October 2007 14:19

Hmm, Till, I'm still wondering if I understood you correct. I looked up /home/admispconfig/ispconfig/web/mailuser/login/index.php because I thinks it does the mailuser login page.

In this script just the given username out of the input filed is used to compare it against the isp_isp_user table. I cannot see that anyone does a virtual user table lookup.

Am I completely wrong?

till 1st October 2007 23:33

Sorry, you are right. I thought we had implemented a email to username lookup there too.

CaptainBalou 1st October 2007 23:40

:)

But can you imagine why my username "domain.com_username" results in a mail.log entry of "_domain.com_username"? Who inserts the underscore? Is dovecot the troublemaker? Still confused... :(


All times are GMT +2. The time now is 11:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.