Sam Varshavchik <[EMAIL PROTECTED]> writes:

> Lloyd Zusman writes:
>
>> The only way I can think of to make this happen would be for me to put
>> my "defaultdomain" entry also into "hosteddomains".  If I do that,
>> should I remove it from "locals", or do I need to keep it both in
>> "locals" and "hosteddomains"?
>
> No, a domain can only appear in locals or hosteddomains, but not both.  Be 
> sure you understand the difference between the two.
>
>> A related question: can "locals" be completely empty (or non-existent),
>> as long as all my domains appear in "hosteddomains"?
>
> The locals file can be empty, but it must exist.  If it doesn't exist, 
> Courier uses the single domain from the "me" configuration file.

I used webadmin to move that one domain from the "Local domains" section
to the "Locally hosted domains" section (i.e., from "locals" to
"hosteddomains").  After webadmin did its job, I expected to see an
empty "locals" file in my courier directory.  However, webadmin deleted
that file, once it contained no more data.

Will this cause a problem with courier, given your statement that this
file "must" exist?  You also said that "me" is used if "locals" doesn't
exist, and therefore, there's an ambiguity that I'm not sure how to
interpret: given that I have a valid "me" file, should I create an empty
"locals" file now, or not?

Also, if "locals" needs to exist, shouldn't webadmin refrain from
deleting it after it becomes empty?

Based on all this, I would guess that a missing "locals" is probably OK,
as long as there is a valid "me" ... but could you confirm that?

Thanks.


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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to