Re: Enabling email based logins on existing system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure if it's an option in your case, but if the issue is that the DNS name is imap.sample.domain.com, but you'd rather use sample.domain.com, perhaps you can set the latter with the option "servername" in imapd.conf

Am 18.09.2024 um 21:13 schrieb Steve Turner <sdturne@xxxxxxxxxx>:


I would rather not modify the code unless the solution I come up with would be accepted into the mainline code base.

Prior to your reply, I've been running with the following settings:
virtdomains: userid
defaultdomain: imap.sample.domain.com
loginrealms: imap.sample.domain.com
This allows logging as either "person" or "person@xxxxxxxxxxxxxxxxxxxxxx"

Changing the configuration as you suggested:
virtdomains: userid
defaultdomain: sample.domain.com
loginrealms: imap.sample.domain.com
Allows logging as either "person", "person@xxxxxxxxxxxxxxxxx", or "person@xxxxxxxxxxxxxxxxxxxxxx", but in the final case I get a "Mailbox not found" error.

And you are correct, simply removing the loginrealms statement:
virtdomains: userid
defaultdomain: imap.sample.domain.com
still allows logging as either "person" or "person@xxxxxxxxxxxxxxxxxxxxxx".  I will simply have to do without the ability to login as "person@xxxxxxxxxxxxxxxxx".

Attachment: smime.p7s
Description: S/MIME cryptographic signature






[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux