Re: Enabling email based logins on existing system

Sebastian Hagedorn <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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 <[email protected]>:



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 "[email protected] "

Changing the configuration as you suggested:

virtdomains: userid
defaultdomain: sample.domain.com
loginrealms: imap.sample.domain.com

Allows logging as either "person", "[email protected] ", or "[email protected] ", 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 "[email protected] ". I will simply have to do without the ability to login as "[email protected] ".

Cyrus
/ Info / see
discussions
+
participants
+
delivery options
Permalink

This is a multi-part message in MIME format...

------------=_1726693571-520672-1--
smime.p7s (application/pkcs7-signature, 4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.