Forums

Cuong
Cuong
Offline
Resolved
0 votes
Hi,

I have a problem with sending email by webmail. I logged in the webmail with an account without domain part (hr02, not hr02@example.com). Then I created a new message to send. When I clicked Send button, Horde webmail reported that the sender address was lacked of domain part as following

"Validation failed for: hr02@".

The default of sender address is hr02@ (Default Identity). I dont know why Horde can't get defaut identity from LDAP. In this case, it will be example.com. In Horde webmail, Options section, I can make a default identity. But this is not the solution. If I have 100 users, then I must log in to each account to make this change. Or when I change domain name, then I must log in to each account to change this. This thing is really hard work.

Please help me configure ClearOS to solve this.

Regards,
Cuong.
In Mail
Sunday, January 16 2011, 04:37 PM
Share this post:
Responses (7)
  • Accepted Answer

    Tuesday, November 26 2019, 11:48 AM - #Permalink
    Resolved
    0 votes
    .... but this must be ClearOS 5.2 or even ClarkConnect. These have been dead for years with no updates. Please consider upgrading to ClearOS 7.x. Horde is no longer supported, but Roundcubemail is (at a small charge).
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 26 2019, 09:06 AM - #Permalink
    Resolved
    0 votes
    Cuong wrote:

    Hi Dirk,

    Is there a way for Horde to get default identity from ClearOS LDAP?

    Thanks,

    Regards,
    Cuong.




    Nice Its help me
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 19 2011, 03:32 AM - #Permalink
    Resolved
    0 votes
    That's what I'm trying to say. The webmail gui layout is based on the scripts. The configuration hooks in Horde are supposed to be grabbing and authenticating through kolab, which I'm certain the script is doing since the user name is coming up based on the pref.php script combined with the hooks.php script, but somewhere along the way it's dropping the domain.
    The reply is currently minimized Show
  • Accepted Answer

    Cuong
    Cuong
    Offline
    Wednesday, January 19 2011, 03:22 AM - #Permalink
    Resolved
    0 votes
    Hi,

    Is there a way to authenticate full qualified username (user@domainname) in the webmail? By configure this, I think we dont need to configure hard code in Horde.

    Thanks,
    Cuong.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 19 2011, 02:32 AM - #Permalink
    Resolved
    0 votes
    Horde does grab the user name as the default identity, but the latest scripts are stripping the domain (obvious...I know). I've been messing around with the scripts in the config files to see if I can catch the glitch, but I'm not a PHP guru by a long shot, so it's hunt and peck for me. It used to work, but somewhere along the way Clear updated Horde and the end result is what we're now getting, i.e. domain name stripping. Horde refers to it as "short name".

    For now if you do what I suggested it will place the mail domain in the identity every time your users login to a webmail session. I know, it's a bandaid, but it works. If all your users are going to work with is the default identity, this should suffice. I'll keep plugging at it as I have time and post if I catch the glitch, or what I think is a glitch.
    The reply is currently minimized Show
  • Accepted Answer

    Cuong
    Cuong
    Offline
    Wednesday, January 19 2011, 02:22 AM - #Permalink
    Resolved
    1 votes
    Hi Dirk,

    Is there a way for Horde to get default identity from ClearOS LDAP?

    Thanks,

    Regards,
    Cuong.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 18 2011, 05:57 PM - #Permalink
    Resolved
    0 votes
    In /usr/share/horde/imp/lib/Session.php locate this line of script:

    'maildomain'   => '',


    and plugin your domain name like so:

    'maildomain'   => 'domain.com',


    This will add the mail domain to the user's default identity for the session, but not in the options.
    The reply is currently minimized Show
Your Reply