Results 1 to 3 of 3

Thread: Default Domains / Unique Users

  1. #1
    wdimmit is offline Senior Member
    Join Date
    Nov 2005
    Posts
    62
    Rep Power
    9

    Default Default Domains / Unique Users

    Hi. I run a small mailserver that handles mail for a few users scattered across a number of domains (perhaps 3 users / domain avg). If unique usernames are administrativly enforced, is there any way to allow all users to login with just their username (setting multiple default domains)?

    Thanks,
    Will

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default not supported

    there's no way for us to support that - behind the scenes, we'd end up having to do multiple auth attempts for every account, and keep track of when failure means failure, and when it means try again.

    That said - you may be able to fake this:

    Create all users under the default domain.

    Add aliases under the domain you want them to appear to be at, with the same username.

    Set the canonical address (for outgoing mail) on each account to reflect the address you want the account to appear to be under.

    Then everyone can log in with their username, and mail will be sent to (and appear to come from) that user.

    The only thing you lose is the display name in the web client - that will be for the account@defaultdomain.com.

  3. #3
    wdimmit is offline Senior Member
    Join Date
    Nov 2005
    Posts
    62
    Rep Power
    9

    Default Idea?

    This probably belongs in the Dev forum now, but I didn't want to cross post. Anyhow, as a possible suggestion for improvement. (I have not gone through the auth code in the source):

    I'm guessing that the current auth scheme goes something like this:

    *Check Sanity of Username / Password*
    (IF username includes FQDN )
    {
    ....try auth directly
    }
    (ELSE)
    {
    .....append default domain and try auth
    }



    Would something like this be possible (serverSimpleAuth is a global pref)?

    *Check Sanity of Username / Password*
    (IF username includes FQDN )
    {
    ....try auth directly
    }
    (ELSEIF serverShortAuth is TRUE)
    {
    .....(IF username is unique within entire server )
    .....{
    ..........Try auth, appending that username's FQDN
    .....}
    .....(ELSE)
    .....{
    ..........fail
    .....}
    }

    (ELSE)
    {
    .....append default domain and try auth
    }

    Assuming I'm not way off in left field about your auth process, something like that would allow short logins without multiple auth attempts and without touching much backend (just need that one pref). If I am in left field, I apoligize.

    Other note: Would a prefrence to display a user's canonical address rather than their proper login name in the web client be possible?

    Thanks!
    Will

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 45
    Last Post: 11-28-2007, 06:39 PM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Perdition not restart !!!!
    By olibite in forum Administrators
    Replies: 2
    Last Post: 05-22-2007, 03:50 AM
  4. perdition won't start after 4.5 Upgrade
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:39 PM
  5. 1 set of users with two domains?
    By k-gun12 in forum Administrators
    Replies: 3
    Last Post: 11-08-2006, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •