On Wed, Jun 09, 1999 at 02:07:17PM +0900, Kohei Akao wrote:
> Hi.
>
> I want to use both qmail-users and qmail-getpw but I can't.
>
> My server has 2 users, akao and kohei, except root.
>
> I can send a message to akao and kohei, and receive.
> $echo to: akao | /var/qmail/bin/qmail-inject
> $echo to: kohei | /var/qmail/bin/qmail-inject
>
> Next I created /users/assign file like this.
> ---
> +:alias:7790:2108:/var/qmail/alias:-::
> =:alias:alias:7790:2108:/var/qmail/alias:::
> +alias-:alias:7790:2108:/var/qmail/alias:-::
> =k-akao:akao:10:1:/home/akao:::
> +akao-:akao:10:1:/home/akao:-::
> .
I think this is where the problem is. Your first line is the "catch-all"
entry, which will trap all addresses, and so qmail will never consult
/etc/passwd. It will pass on the message for kohei to user alias, and
because alias doesn't have a .qmail-kohei file, the message will fail.
Remove that first line and you should be fine.
--
System Administrator
See complete headers for address, homepage and phone numbers