Author Topic: username different from email  (Read 5347 times)

Offline leandronf

  • Newbie
  • *
  • Posts: 3
username different from email
« on: November 26, 2012, 02:54:13 PM »
My ISP has a different login.

The login is username=domain.com
The email username@domain.com

I could not set up correctly.

Could someone help me?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: username different from email
« Reply #1 on: November 26, 2012, 05:57:27 PM »
If thats the imap login then you should be able to login in with in, what problem are you running into?

Offline leandronf

  • Newbie
  • *
  • Posts: 3
Re: username different from email
« Reply #2 on: November 27, 2012, 06:33:20 AM »
How can I configure the options in main.inc.php

I even can log in, but can not send email.

The form is generated username for SMTP, creates the wrong username.

I changed the information for a fictitious domain, but has been tested with an existing domain.
Domain: rc.com
imap: mbox.rc.com
smtp: smtp.rc.com
Login: leandro=rc.com
email: leandro@rc.com

My setup is:
$rcmail_config ['default_host'] = 'mbox.rc.com';
$rcmail_config ['smtp_server'] = 'smtp.rc.com';
$rcmail_config ['smtp_user'] = '%u';
$rcmail_config ['smtp_pass'] = '%p';
$rcmail_config ['username_domain'] = 'rc.com';
$rcmail_config ['mail_domain'] = 'rc.com';

The identity is generated leandro=rc.com@rc.com
This would not be the biggest problem, I fix for leandro@rc.com.

The problem is the time to send, I get the following error message:
Erro SMTP (553): Failed to add recipient "leandro@rc.com" (5.7.1 <leandro@rc.com>: Sender address rejected: not owned by user leandro=rc.com@rc.com).

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: username different from email
« Reply #3 on: November 28, 2012, 03:44:10 AM »
Set username_domain to be empty that should fix the problem with the domain being added at the end of the username.

Offline leandronf

  • Newbie
  • *
  • Posts: 3
Re: username different from email
« Reply #4 on: November 28, 2012, 07:03:03 AM »
Thanks, it worked. Inattention in a little detail.