23 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: Wildcard DNS ...
FromSent OnAttachments
Jeff PotterNov 17, 2003 2:58 pm 
Jeff PotterNov 17, 2003 7:37 pm 
Sam VarshavchikNov 18, 2003 4:08 am 
Jeff PotterNov 18, 2003 4:53 am 
Bill HackerNov 18, 2003 5:02 am 
Jeff PotterNov 18, 2003 7:32 am 
Bill HackerNov 18, 2003 7:48 am 
Jeff PotterNov 18, 2003 9:24 am 
Sam VarshavchikNov 18, 2003 3:25 pm 
Jeff PotterNov 18, 2003 6:12 pm 
Mitch (WebCob)Nov 18, 2003 10:10 pm 
Jeff PotterNov 19, 2003 6:25 am 
Jeff PotterNov 20, 2003 7:07 am 
Jeff PotterNov 21, 2003 2:15 pm.patch
Sam VarshavchikNov 21, 2003 3:16 pm 
Mitch (WebCob)Nov 21, 2003 4:10 pm 
Johannes ErdfeltNov 21, 2003 4:20 pm 
Sam VarshavchikNov 21, 2003 5:40 pm 
Jeff PotterNov 21, 2003 6:40 pm 
Sam VarshavchikNov 21, 2003 7:38 pm 
Jeff PotterNov 23, 2003 3:50 pm.patch
Sam VarshavchikNov 27, 2003 8:00 am 
Jeff PotterDec 11, 2003 3:29 pm.patch
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Re: Wildcard DNS + Courier?Actions...
From:Mitch (WebCob) (mit@webcob.com)
Date:Nov 18, 2003 10:10:42 pm
List:net.sourceforge.lists.courier-users

What am I missing?

Using hosted domains, you can assign all the aliases you need... Can't even see a reason to structure your setup this way, but assuming there is one, there can't possibly be an unlimited number of domains - so just plug them into the hosted file by script like I'm sure many of us do and rebuild the DB.

maindomain.com sub1.maindomain.com<TAB>maindomain.com

etc.

The only other time I've seen something similar requested had to do with the postmaster account - can I ask the reasoning behind the existance of the structure you are seeking?

m/

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Jeff Potter Sent: Tuesday, November 18, 2003 6:12 PM To: Sam Varshavchik Cc: Courier Subject: [courier-users] Re: Wildcard DNS + Courier?

Does hosteddomains not support ".domain.com"? Any reason against supporting it? (I.e., would it break anything?)

Because that for a given domain in hosteddomains, .domain.com means that you now have local mailboxes us@foo.domain.com, us@foo.domain.com, etc…

It's doubtful that you will want to insert an infinite number of records in your LDAP, MySQL, or PostgreSQL database for each local mailbox.

But if one defined a record "user@.domain.com", then that same record could apply to both us@foo.domain.com and us@bar.domain.com. It's in some ways the same thing as dash extensions - we have a mechanism for .courier-foo and .courier-bar to be generalized into 1 file (.courier-default) so that we don't have to define an infinite number of files; and we have a mechanism to collapse fo@domain.com and ba@domain.com into 1 entry (ali@domain.com) so we don't have to define an infinite number of addresses. Parts of Courier support the idea of collapsing any subdomain of a domain into 1 entry (esmtpacceptmailfor and bofh's ".domain.com"); but the other half still requires an infinite number of records.

It would be logical to be able to accept and deliver all email for <anything>.domain.com with the same dot-domain mechanism. Apply the same logic that's used for selecting a dash extension file: most specific is used; so email to "sa@foo.domain.com" looks up entry "sa@foo.domain.com", then if not found, "ali@foo.domain.com", then "sam@.domain.com", and finally, "alias@.domain.com". "ali@domain.com" and "sa@domain.com" should be separate entries and not searched; otherwise there's no way to define a separate address space for the top level.

Given my understanding of Courier, I don't think this would break anything currently in use, and it seems like a logical fit to the rest of the spirit of how addresses can be defined. Is my thinking reasonable, or am I overlooking something that would cause this functionality to break?