Ok Ben, I understand the dot-qmail stuff.
The solution you suggested doesn't fit me. Let me explain the configuration
I want to install so you'll understand. (and can give me some opinions)

We have a mailserver with virtualdomains, right. 
And we host a customer's domain: customer.com.br.


|---------------|------64k-line-------------RemoteFilial1--Network1 
|mailserver for |
|customer.com.br|------64k-line-------------RemoteFilial2--Network2
|_______________|
       |---------------64k-line-------------RemoteFilial3--Network3

We are the mailserver for the three filials, hosting all their accounts in
the customer.com.br domain.

The problem is: When the stations located in the same local network want to
exchange e-mail, the local messages have to pass twice through 64k lines in
order to access our mailserver. This is a terrible daily traffic,
especially
in the mornings.

What we want to configure are three local mailservers, one in each filial.
But we can't change their e-mails.
We are imagining:

________________
|OUR Mailserver |--------64k-line--------LocalMailServer1
|MX for the     |                        hosting customer.com.br
|customer.com.br|
|domain         |--------64k-line--------LocalMailServer2
----------------|                        hosting customer.com.br
        |____________________and so on.

   In our mailserver we will have just 3 email accounts, each one for each
Filial. And we will configure .qmail-aliases for all the accounts. Inside
the ".qmail-alias" files we put the "./FilialX/Maildir/" so the message
will be delivered to the maildir of the filial this account belongs.
   
   Then we configure three supervised maildirsmtp processes that will catch
the messages left in a Maildir and will send it to the right
LocalMailServer.

   The vdeliver's would run in the LocalMailServers 1,2 and 3. We don't
want to keep the .qmail-aliases in all the local servers, so we want to
configure them to, when they don't recognize an account for the
customer.com.br domain, it will send this message to our central Mailserver
- using maildirsmtp.

Now you understand why I can't use the .qmail- files?

I would be glad with any comments,
Bruno

















Ben Beuchler escritas:

> On Thu, Apr 26, 2001 at 06:09:24PM +0000, Bruno Negrao wrote:
> 
> > > Just use a .qmail- file to deliver the message so vdelivermail doesn't
> > > touch it.  Then the domain name will still be prefixed in the headers.
> > Thanks Ben, 
> > But .qmail-what?
> > And what would I write into it?
> 
> You'll want to read 'man dot-qmail' to make sure you understand
> this completely, but in short, you'll do something like this for each
> account you intend to spool for maildirsmtpd:
> 
> If the account is [EMAIL PROTECTED], put the file in
> ~vpopmail/domains/mydomain.com.  It should be named '.qmail-joebob' and
> contain the full path to that account's maildir, starting and ending
> with a '/'.  For example, if the home directory of vpopmail is
> /var/vpopmail, this is what the '.qmail-joebob' file would contain:
> 
> /var/vpopmail/domains/joebob.com/joebob/Maildir/
> 
> This will bypass the vdelivermail mechanism and will leave the prefix
> 'mydomain.com-' to the address in the headers.
> 
> Ben
> 
> -- 
> Ben Beuchler                                           There is no spoon.
> [EMAIL PROTECTED]                                            -- The Matrix

Reply via email to