PDA

View Full Version : Question about the 2 Maildir's



evil_smurf
03-20-2008, 10:30 PM
On the box there is a /home/username/Maildir, and also a /home/username/imap/domain.com/Maildir.


What exactly is the /home/username/Maildir used for? I *thought* it was used for pop only (since there's an imap folder for the second Maildir) but that doesn't make any technical sense.

GXX
03-21-2008, 06:26 AM
Maildir - actual user on the system

imap/domain.com/Maildir - virtual users you've created

I believe that's the difference, someone correct me if I'm wrong.

evil_smurf
03-21-2008, 07:34 PM
I guess my question then is, if a customer has multiple domains in their account, is the /home/username/Maildir automatically shared between all of the accounts for their default email?

For example, username = bob, domain = bobsdomain.com, the default email would end up being bob@bobsdomain.com

if bob adds fredsdomain.com to their account as well, they would now have a bob@fredsdomain.com default address for that account too. Does all of that go to the one Maildir?

nobaloney
03-27-2008, 06:05 PM
Yes. You only have one main username for your account no matter how many domains.

Jeff

mattb
04-07-2008, 12:27 AM
Interestingly, I had a customer contact me about this just today.

He has multiple domains, but would like each of his accounts /domain in a separate mailbox.

Anyone done the work and know what's involved?

I imagine his 'main' domain would stay with the existing 'unix' user Maildir and all others would go off to virtual accounts.

I thought it's worth asking before I chase my own tail if someone's already done the leg work.

arutha
05-09-2008, 01:33 AM
I have setup similar before mattb.

user @ domain1 and domain2 for example

I setup

user1 and user1 virtual mail boxes (coulda just used one but it was easier to have it standerdised)

I then setup a forwarder so that

user@domain1 was forwarded to user1@domain1

and

user@domain2 was forwarded to user2@domain2

User logs on with user1@domain and user2@domain (same format so easier for them) and works a treat.. havent tried it in a little while but cant see a problem with it.