Jeff Potter Wrote:

> Sam wrote:
> > Lloyd Zusman wrote:
> >>
> >> [ ... ]
> >>
> >> And in this same non-webadmin world, I believe that I only 
> >> should be putting this into "hosteddomains" (i.e., leave the 
> >> wildcard domain out of "hosteddomains"):
> >>   example.com
> >
> > No, you also need .example.com there, too.
> 
> And my $.02 as to why it's this way: having two entries allows one to 
> handle *.example.com differently than example.com. That's important.

Thanks to both of you.

For some reason, I never knew that wildcard domains were legal in
"hosteddomains".  I think it's because I hadn't read the changes
to the "hosteddomains" docs that you (Jeff) put in place 1-1/2 years
ago (for 0.44.3, on 2003-11-23).

But this brings up another question: how do I use webadmin to handle
*.example.com exactly the same as example.com in the "hosteddomains"
file?  Specifically, how do I use webadmin to create "wildcard DNS" 
entries in "hosteddomains" per the "Note" at the bottom of this 
section in the documenation for "makehosteddomains"?

  ``WILDCARD DNS''
       Wildcard  DNS is supported for hosteddomains by placing a
       single period character before the domain name. For example, 
       the hosted domain  entry ``.domain.com'' will cause   
       Courier  to  accept  mail  for  ``anything.domain.com''.

       Courier will accept mail for <[EMAIL PROTECTED]> 
       and attempt to  deliver it to the local mailbox 
       <[EMAIL PROTECTED]>, and if that fails then attempt 
       to deliver the mail  to  the  local  mailbox
       <[EMAIL PROTECTED]>, then finally <[EMAIL PROTECTED]>

          Note:

          There  is a period after the '@' character. If you want 
          all mail for ``any.thing.domain.com'' to be delivered as 
          though  it  were sent  to  ``domain.com'',  you  should  
          define  an alias for the domain, for example:

            domain.com
            .domain.com<TAB>domain.com

In other words, how do I get an ".example.com<TAB>example.com" entry
into "hostededdomains" via webadmin?

Thanks.

-- 
 Lloyd Zusman
 [EMAIL PROTECTED]
 God bless you.





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to