Re: domain-name based mailboxes
- To: mutt-users@xxxxxxxx
- Subject: Re: domain-name based mailboxes
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 10 Mar 2009 12:10:58 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=8WVhsd//PaU6fahSS0xPBC0Pvbw=; b=Tnd2 BOrqe7FN/ZXA+boTy1RgpeR9G9T1tSljEBZbja5HRjzuqqiWkKjaT5ZVvyHJf/iM XkBONrJ2r7bCrF5hJXa5jfWZbICDOeGvdYFFMZrA69u4cNnMP1k9xyMzevu75Y8g tQEh1U75nEa2sQo4CQyHe06D3hn2FfWV/C98LRQ=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=bDWc4T1U1SMWlT8siWwJIN+IEQrudV4nd26FYDousqSoZKTC1NwYEN5RtZuh5aM6Yq65uaQpHi3JNAW1geUeSKEmM/DH39sUJkymQ7d1GLTsGjduDEeDiPlM6ZlmoK2fFvCn9Ozv703uVV2sztl+Pv/e4NCikgmiMy834ldOLZc=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <E1Lh54S-0003P9-Ha@xxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <E1LgzrW-00039p-5i@xxxxxxxxxxxxxxxxxxxxxxx> <20090310135601.GH74515@xxxxxxxxxxxxx> <E1Lh54S-0003P9-Ha@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-02-20)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, March 10 at 12:44 PM, quoth Haines Brown:
>> On Tuesday, March 10 at 07:11 AM, quoth Haines Brown:
>>> Mailboxes are normally set up based on UID. For example,
>>> user-1@xxxxxxxxxxxxxx, user-2@xxxxxxxxxxxxxxx However, I need to set
>>> up mailboxes (a debian etch machine) based on different domain
>>> names but same UID. For example, user-1@xxxxxxxxxxxxxxxx,
>>> user-1@xxxxxxxxxxxxxxxxx
>>
>> So... what's your question?
>
> Sorry I was not clear. The question is: How do I set up mailboxes
> based on different domain names?
I guess I still don't understand the difficulty. We're talking about
mutt mailboxes, right? As defined by the `mailboxes` command in your
muttrc?
The reason I don't understand your question is because the method for
setting up mailboxes with different domain names is EXACTLY THE SAME
as the way you set up mailboxes with different usernames within the
same domain. Mailboxes are **NOT** normally set up based on UID;
they're normally set up based on the value of $folder, which (when
using IMAP or POP) can specify a specific username (UID) and server
(domain). Using multiple usernames AND/OR using multiple servers
(domains) requires either changing the value of $folder OR specifying
the full URI for your mailboxes. For example:
set folder=imap://user1@xxxxxxxxxxx/
mailboxes +INBOX
set folder=imap://user2@xxxxxxxxxxx/
mailboxes +INBOX
set folder=imap://user1@xxxxxxxxxxx/
mailboxes +INBOX
Which is equivalent to:
mailboxes imap://user1@xxxxxxxxxxx/INBOX \
imap://user2@xxxxxxxxxxx/INBOX \
imap://user1@xxxxxxxxxxx/INBOX
Yes it's true that you could also use things like $imap_user instead
of including the username as part of the URI, but I find that this way
makes multi-account stuff more convenient.
Perhaps if you could explain what you tried that didn't work (and in
what way it didn't work), that would make it easier to give you a
useful answer.
As it stands, since you started off with what appears to be an
incorrect statement about using mutt, I get the feeling that when you
say "mailboxes" you actually mean something other than what mutt means
by "mailboxes" (namely, folders to check periodically for new mail),
and that you may even be asking the wrong mailing list---your question
sounds more appropriate to, say, the mailing list of an MTA, like
qmail or sendmail.
~Kyle
- --
All we have to decide is what to do with the time that is given us.
-- Gandalf the Grey
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkm2nyIACgkQBkIOoMqOI164hwCgkSt6olA70CIjNAqFNS3AP1AZ
6z0AoL6ajWwvHQql/1MejLpkd26b5/JH
=RZ5g
-----END PGP SIGNATURE-----