On Tue, 29 Aug 2000, Clemens Hermann wrote:

> Hello again,
> 
> I really would appreciate it if someone could give me a short hint
> conderning my problem because I should continue adding some mail users.
> If there is no solution to the problem the way I want it it would also
> help me to know that it is impossible. In this case I really would
> appreciate it to know some alternatives to solve the problem centralized
> (not with single files in the maildirs).

You can't do it with the assign file. In essence, the assign file is
telling qmail-lspawn exactly which .qmail file to use and which user
to become when processing the message without the need for a getpwnam()
type call. You can have duplicate keys in the assign file BUT qmail-lspawn
will only use the first one. See man qmail-users(5).

What you can do is get the mail delivered to the alias user with an
entry in the assign file

    =someuser:alias:400:400:/var/qmail/alias:-:someuser:

and in /var/qmail/alias/.qmail-someuser have entries of the form

    &user1
    &user2

> 
> Thanks in advance
> 
> Clemens
> 
> > Hi,
> > 
> > I do all my qmail mailadress-configuration via the /users/assign file.
> > Is it possible to get all mails to a specified adresse delivered to two
> > mailboxes? I know there are possibilities e.g. .qmail files but I really
> > would love it to be able to configure it in my assign file. The only
> > thing I want to have is one mailadresse being delivered into two
> > distinkt mailboxes.
> > 
> > thanks in advance
> > 
> > Clemens
> 

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to