Clemens,

I think it must be .qmail files you're lacking - and that may
be a better solution for you to use. Anyway, with your existing
plan,
with a users/assign as follows,
  +allesrabe-de-:usera:555:100:/home/usera:-::
  =allesrabe-de-info:userb:666:100:/home/userb:::
[EMAIL PROTECTED] goes to /home/userb, where it will look for
delivery instructions, or failing that it'll use the default delivery
instructions.

[EMAIL PROTECTED] will go to /home/usera, where it
*needs* delivery instructions - i.e. if you have a Maildir there,
create a .qmail-default file to point to it (or just touch .qmail-default
if Maildir/ is your default delivery).

Alternatively to this, you could have a users/assign
  +allesrabe-de-:usera:555:100:/home/usera:-::
and in /home/usera, have .qmail files corresponding to your
5 specified users, thus
   .qmail-info
   .qmail-user1
   .qmail-user2
each of which can point to a (different if you like) Maildir
or whatever. With this approach bounces should be
generated for any user @allesrabe.de that isn't info,
user1 or user2. If you want to catch these deliveries
in a catch-all .qmail file, use .qmail-default, also in
/home/usera.

Other things to check: Ownership of Maildirs, home directories,
.qmail files. Also have you run qmail-newu after changing users/assign?

You mentioned that you were having problems with bounces but seeing no
log messages: Perhaps you're not logging qmail output. The simple way
would be in your startup, to change from (e.g.),
exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start ./Maildir/
to,
exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
  qmail-start ./Maildir/ splogger qmail
- and check that 'mail' is dealt with in /etc/syslog.conf somehow - that's
where you'll find the log.

...but read up on things like multilog for less disk-intensive logging
(daemontools package).

cheers,

Andrew.

----------
From:   Clemens Hermann[SMTP:[EMAIL PROTECTED]]
Sent:   21 August 2000 13:34
To:     Qmail Mailinglist
Subject:        assign problem supplemental

Hi,

seems as If my description did not get the point of my problem. Give me a
second try:

My /var/qmail/users/assign is this

+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::
=haribeau:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
=neo:popuser:500:100:/var/qmail/popboxes/linuxlupe-de/haribeau:::
+wetterbestellung-de:popuser:500:100:/var/qmail/popboxes/wetterbestellung-de
/default:::
 .

the first line delivers any Mail to @allesrabe.de into the Mailbox as
specified
the second and third line creats mail aliases for my local domain
(linuxlupe.de). This also works. the mails are delivered perfect in the
specified mailboxes.
the fourth line delivers any mail to @wetterbestellung.de into the specified
Mailbox.

so far so good.

What I now want to do is being able to create several virtual users for my
virtual domain allesrabe.de (as ist works yet for my local domain - see
second and third line in the config file above).

for this reason my /var/qmail/control/virtualdomains looks like this:

allesrabe.de:allesrabe-de
wetterbestellung.de:wetterbestellung-de

So I expected that when I change the first Line in my assign file from (as
above):

+allesrabe-de:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::

to

=allesrabe-de-info:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::

only the mails adressed to [EMAIL PROTECTED] should be delivered to helmut's
mailbox, korrekt?
But this is not the case. after inserting this line no mail to
[EMAIL PROTECTED] is delivered anywhere. No errormessages or undelivery
mails are send neither.

wildcard assignment works if I try this:

+allesrabe-de-inf*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::

now [EMAIL PROTECTED] is delivered to helmuts box, as everything
inf******@allesrabe is.

a wildcard assignment as follows is _not_ delivered:

+allesrabe-de-info*:popuser:500:100:/var/qmail/popboxes/allesrabe-de/helmut:::

I really do not get the point where I am wrong. I rebuilt the database after
any change and for sure I restarted sendmail after changing my
virtualdomains file.

It would be great if anyone could help me

thanks in advance

Clemens

Reply via email to