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]".

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



Reply via email to