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

Re: domain aliases



Hi Alex,

Does this help:
 INSERT INTO dotqmails ( login, virtual_host, extension, dotqmail ) VALUES 
               ( 'alias', 'alias.com', 'default', '|forward $LOCAL@xxxxxxxxxx');

 UPDATE passwd SET use_dotqmail='1' where login='alias' and virtual_host='alias.com');

Regards,
Michael.
On Fri, Nov 15, 2002 at 09:36:09AM -0600, Alex Howansky wrote:
> 
> What's the best way to handle full domain aliases with qmail-sql?
> 
> For example, suppose I have 50 users in the database under the domain
> "domain.com". I want user@xxxxxxxxx to be treated as if it were
> user@xxxxxxxxxx, but obviously I don't want to create 50 duplicate records in
> the user table, or 50 alias entries in the dotqmail table.
> 
> I can't seem to get the /var/qmail/control/virtualdomains file to do it, maybe
> I'm just missing something simple. Any ideas?
> 
> Thanks,
> 
> -- 
> Alex Howansky
> Wankwood Associates
> http://www.wankwood.com/
>