Henrik Hudson wrote:
>
> Evening List-
>
> I having a problem either understanding this or just having a real problem :)
>
> I have setup qmail and setup vpopmail and it seems to all be working, except
> mail doesn't get delivered for virtual users.
>
> If for example. my domain is domain.com and have added the domain and it
> shows up in the domains folder and then I add a user to the domains folder,
> lets say testuser, unless I create a .qmail-testuser file with the following
> in it:
>
> | /usr/local/qmail/vpopmail/bin/vdelivermail ''
> /usr/local/qmail/vpopmail/domains/domain.com/testuser
>
> mail will NOT get delivered. Is this they way it's supposed to work? and if
> yes why wouldn't vadduser add the .qmail-testuser for me????
>
> I am thinking I am missing something, but what I don't know. This is my first
> qmail install and my first vpopmail install, so be kind :)
There should be a .qmail-default file in the domain.com directory.
That is the "file of last resort" that qmail-local looks for when
trying to deliver mail to a directory. That file should have something
like.
| /usr/local/qmail/vpopmail/bin/vdelivermail '' some-text
where some-text can be a path to the "default" delivery email
account, or other words like "delete" or bounce-all, defined
in vdelivermail.c
Check for that .qmail-default file
Ken Jones