hmm.. just wondering. domain.com is the maindomain (with it's directory ~vpopmail/domains/domain.com) alias.com is the alias domain for domain.com (so it's directory is ~vpopmail/domains/domain.com, too)
vdeldomain("alias.com") seems to work. alias.com is removed from rcpthosts, virtualdomains and users/assign vdeldomain("domain.com") deletes the domain from rcpthosts, virtualdomains, users/assign _and_ removes the directory ~vpopmail/domains/domain.com even if alias.com still points there. either there should be a feature which stops and tells you, that there are still existing aliases, or it should rename rename the dir to alias.com (or a random other alias domain) and update the users/assign file accordingly. I vote for the second one. -- Best Regards --------------------------------------------------------------------------- Justin Heesemann ionium Technologies [EMAIL PROTECTED] www.ionium.org