RE: Enabling email based logins on existing system

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

 



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 userid@xxxxxxxxxx -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 lukecage.admin@xxxxxxxxxxxxx mercedesknight.admin@xxxxxxxxxxxxx

virtdomains: yes

defaultdomain: exampleisp.net

 

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

 

 

 

From: Steve Turner <sdturne@xxxxxxxxxx>
Sent: Wednesday, September 18, 2024 3:14 PM
To: Info <info@xxxxxxxxxxxxxxxxxx>
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 "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".

 


[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