[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 50% Success!

Hello Andrew,

To insert an alias-user:
INSERT INTO passwd (login, uid, gid, home, virtual_host) VALUES ('alias', uidaliasuser, gidaliauser, 'homedir aliasuser', 'virtual host aliasuser');

As mentioned in the installguide:
         + each domain needs an alias-user, comparable with the
           alias-user from the passwd-file: you can put .qmail-files in
           his homedir etc ... 

Kindly regards,
> But the only problem I have now, is that I don't understand how to setup the
> alias-user's for every domain, as I'm getting messages such as the following
> now..
> Sep 28 19:24:13 mail qmail: 970133053.488082 delivery 5: deferral:
> Unable_to_find_alias_user!/
> How do I setup alias users? .. Do I specify the user in
> /var/qmail/control/virtualdomains ? Or do I specify the user in the database
> table? If so, which one, and how... I'm having trouble getting my head
> around how to do that...
> I beleive this problem may have something to do with the fact that I get
> 'segmentation fault'(s) on /var/qmail/bin/qmail-getpw if I set
> /var/qmail/control/sqlserver to check_host no. I discovered this was a
> problem by doing a strace. When I changed to check_host yes..
> /var/qmail/bin/qmail-getpw returns the correct values for existing users,
> but returns nothing, as if the database doesn't exist, when the user doesn't
> exist... it should return the alias user right? .. Which comes back to the
> alias-user problem doesn it? :) ..
> Any help would be much appreciated.
> Regards,
> Andrew
> ...