my imapd.conf:

 

virtdomains: yes

defaultdomain: localhost

 

That is the way I got Outlook 365.

 

 

How did you set up your mailboxes using cyradm?

Format:

 

user.{username}.domain.com

 

 

Set PW:

saslpasswd2 [email protected] -r domain.com

For testing user accounts:

testsaslauthd -u userid -r domain.com -p YourPassword -s imap

 

from: https://www.cyrusimap.org/imap/concepts/features/virtual-domains.html

 

Here is a sample imapd.conf with a minimal set of configuration options:

configdirectory: /var/imap

partition-default: /var/spool/cyrus

admins: admin [email protected] [email protected]

virtdomains: yes

defaultdomain: exampleisp.net

 

I believe the comment Doc in imapd.conf stating “virtdomains: userid” is 
incorrect.

 

 

 

From: Steve Turner <[email protected]> 
Sent: Wednesday, September 18, 2024 3:14 PM
To: Info <[email protected]>
Subject: Re: Enabling email based logins on existing system

 

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

 

 <https://cyrus.topicbox.com/latest> Cyrus / Info / see discussions 
<https://cyrus.topicbox.com/groups/info>  + participants 
<https://cyrus.topicbox.com/groups/info/members>  + delivery 
<https://cyrus.topicbox.com/groups/info/subscription>  options Permalink 
<https://cyrus.topicbox.com/groups/info/Tae2b59346d586220-M2004d072f3c2c01a79e6e9dd>
  


------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/Tae2b59346d586220-Ma37d6dda7b494067cae837a7
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to