[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: Virtual domains info
From:       Michael Fair <michael () daclubhouse ! net>
Date:       2002-06-28 5:21:12
[Download RAW message or body]

You can also use:
cm user/chris@virtualdomain1.dom
cm user/chris@virtualdomain2.dom

The only tricky part to this setup
is that to create/modify the password
saslpasswd is run with the -u parameter as:
saslpasswd -c -u virtualdomain1.dom chris
saslpasswd -c -u virtualdomain2.dom chris


This will allow folks to login using their
email address as their ID which I find
reduces a lot of exlanation/confusion about
why they're different.

-- Michael --

----- Original Message -----
From: "Jeff Bert" <soilentg@sgwebspace.com>
To: "Christopher Riordan" <cpr+cyrus@hal-9000.net>
Cc: <info-cyrus@lists.andrew.cmu.edu>
Sent: Thursday, June 27, 2002 5:58 PM
Subject: Re: Virtual domains info


> Looking good Winfred... j/k (from Trading Places)....
>
> Looks like you're nearly setup correctly.  The unixalthierarch should be
> used to store the usernames in a method so that they identify which
virtual
> domain they come from.  I also am hosting 3 virt domains all on one IP.
> That doesn't seem to meet some RFC guidelines as the SMTP server is
reached
> and when the client issues a HELO the response is the primary domain.
> However, it works just fine....
>
> If your user base is low then I'm assuming your just going to use flat
files
> to store the usernames and virt domains.  If so... then create your users
in
> cyradm like this:
>
> cm user/chris.virtdomain1.com
> cm user/chris.virtdomain2.com
>
> then when they setup their mail client instead of just "chris" they will
> have to put in "chris.virtdomain1.com" or "chris.virtdomain2.com"... the
> power of this being that you can use the same name on different virt
> domains.  That way they can both have the common "webmaster, postmaster,
> abuse" names for each domain.
>
> You'd also use saslpasswd2 to create the logins using the same username as
> above.
>
> Then in your virtual settings file you'd do something like:
>
> virtdomain1.com
> chris@virtdomain1.com         chris.virtdomain1.com\\\@realdomain.com
> virtdomain2.com
> chris@virtdomain2.com         chris.virtdomain2.com\\\@realdomain.com
>
> (note, that is a "sendmail" style virtual file from postfix... i use
postfix
> and don't know squat about sendmail so I don't know if the \\\ makes
sense.
> but in postfix that was needed because the pass to lmtp uses escaped
> characters)
>
> Good luck and I hope this helped.
>
> Jeff
>
>
>
> > ok just so I get things clear. I wanna do virtual domain all on one IP
> >
> > Using Cyrus imapd 2.1.4
> > I apply the lmtp patch from simon's site
> > Set unixaltheirach in the conf file
> > I'll run sasl2 with realms
> > Also with Sendmail
> >
> > What else would I need todo to get this running.
> >
> > I am basically going to be replacing an existing Cyrus system. But would
> > like to  start from scratch since I don't have many users.
> >
> >
> > This may help clear up other people getting confused with Single IP per
> > domain and Single IP w/ many domains
> >
> > Chris Riordan
> > http://www.hal-9000.net
> >
> >
> >
> >
> >
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic