Author Topic: Login Error  (Read 4459 times)

Offline EdmilsonBee

  • Newbie
  • *
  • Posts: 7
Login Error
« on: June 11, 2017, 12:41:16 PM »
So I've installed Hmailserver and created a domain.
Domain named as fakedomain.com, and created three acounts
The " Admin " wich the Adminstration level is set to Domain
The " Info " wich the Adminstration level is set to User
The " Support " wich the Adminstration level is set to Server

Then on Protocols in Delivery of e-mail I put the Local host name as 127.0.0.1
And on SMTP Relayer I put the Remote tcp/ip port as 25   

Then on IP Ranges
On My Computer Priority is set to 30 , Lower IP and Upper IP is set to 127.0.0.1
and the rest is with the check enable except the " Require SMTP authentication
ON Internet Priority is set to 10 ,Lower IP as  0.0.0.0 and Upper IP as 255.255.255.255 and the rest is with the check enable.

On TCP/IP ports are 3 ports SMTP (25), POP3 (110), IMAP(143) all with TCP/IP adress 0.0.0.0

When I run the Diagnose is shows this

Test: Collect server details
hMailServer version: hMailServer 5.4.2-B1964
Database type: MySQL

Test: Test IPv6
IPv6 support is available in operating system.

Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25...
Trying to connect to host mail.hmailserver.com...
Trying to connect to TCP/IP address 5.189.183.138 on port 25.
Received: 220 mail.hmailserver.com ESMTP.
Connected successfully.

Test: Test backup directory
ERROR: Backup directory has not been specified.

Test: Test MX records
Trying to resolve MX records for fakedomain.com...
ERROR: MX records for domain fakedomain.com could not be resolved

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain fakedomain.com...
ERROR: MX records for local domain fakedomain.com could not be resolved

Test: Test message file locations
Relative message paths are stored in the database for all messages.

Test: Test IP range configuration
No problems were found in the IP range configuration.

About the Roundcube Configuration
 Database type : MySQL

localhost -Database server (omit for sqlite)

roundcube - Database name (use absolute path and filename for sqlite)

rcuser - Database user name (needs write permissions)(omit for sqlite)

__________ Database password (omit for sqlite)


The Imap(143) Host and SMTP (25) Host is set 127.0.0.1


When I test the login
Login : admin or support or info
Password : All  3 have the same psw

I get this

 Connecting to 127.0.0.1...
IMAP connect:  NOT OK(Login failed for info from ::1. LOGIN: Invalid user name or password. Please use full email address as user name.)




« Last Edit: June 11, 2017, 12:47:51 PM by EdmilsonBee »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Login Error
« Reply #1 on: June 11, 2017, 01:44:44 PM »
there is a roundcube config option `$config['username_domain']` which can be used to set which domain should be automatically appended to the username if the user does not enter one.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline EdmilsonBee

  • Newbie
  • *
  • Posts: 7
Re: Login Error
« Reply #2 on: June 11, 2017, 02:28:06 PM »
Thanks

 $config['username_domain'] = true;
to
$config['username_domain'] = 'fakedomain.com';

on Config.inc.php :D

Thansks Again Problem solve



« Last Edit: June 11, 2017, 02:35:46 PM by EdmilsonBee »

Offline EdmilsonBee

  • Newbie
  • *
  • Posts: 7
Re: Login Error
« Reply #3 on: June 18, 2017, 05:17:32 PM »
Can I do this ?

So I have my Adminstration email...and Users email

How to make the User email when Send Email to another user to senda copy of the email sended to Administrator !?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Login Error
« Reply #4 on: June 19, 2017, 11:39:49 AM »
That should be done server side. That way it works no matter which email client is used.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…