On Fri, Feb 26, 1999 at 01:52:26PM +0000, Eric Dahnke wrote:
> Sorry folks,
>
> I realize this is one of the questions you all really hate hearing. I appologize,
> I�ve been in the archives, man pages, and FAQ for hours.
>
> The Virtual Domians portion of the FAQ only mentions the files rcpthosts and
> virtualdomains, but not locals. So, don�t scream that I�m asking this.
>
> virtualdomains
> company.com.ar:domain-company
>
> Simply, do I need to have
>
> qmail-user
> qmail-user-domain
>
> within ~domain-company
Is the user name really domain-company? Or is the user name domain, and you'd
like to have that user control a number of virtual domains, one of which is
company.com.ar?
In either case, the entry in virtualdomains will cause mail to
[EMAIL PROTECTED] to be delivered locally to domain-company-user.
If the user name is domain-company, you'll need ~domain-company/.qmail-user to
control delivery.
If the user name is domain, you'll need ~domain/.qmail-company-user to control
delivery.
If you don't have either user name, you'll need
~alias/.qmail-domain-company-user to control delivery.
It all boils down to the local delivery of mail sent to domain-company-user.
Follow how that delivery would work, and it'll tell you what kind of .qmail-
file you need.
> or if I put company.com.ar in locals can I avoid (without creating any complications)
> the second .qmail file?
Don't do that! If you put company.com.ar in locals, then the virtualdomains
entry will be ignored, and things won't work they way you want them to. A
particular domain should be in either locals or virtualdomains--never both.
Chris