On Thu, 26 Sep 2002, Jaime Nebrera Herrera wrote: > Hi again, > > We have been thinking about it a little longer and with help from many > people we think this might be a goog solution. > > If the users have an email address such as [EMAIL PROTECTED], then using > qmail smtproute in combination with "hotnames and address" will create the > needed routes for mail. That way you just work at the domain level without > needing to worry about users. A custom panel to add entries into that file > will be needed but is easy to do. > > If the user prefers to have all email like [EMAIL PROTECTED] there is no way > for the central server to know were to send it at the domain level. In that > case, we will create an alias for each account needed pointing like > [EMAIL PROTECTED] -> [EMAIL PROTECTED] This way you just need to create > aliases.
Create one alias file: ~alias/.qmail-subcompany-default which contains | forward $[EMAIL PROTECTED] then create a custom template for /var/qmail/control/virtualdomains which contains the following line: sub.company.com:alias-subcompany Then mail for [EMAIL PROTECTED] will be handled correctly. -- Regards Peter ---------- Peter Samuel, Senior Systems Administrator [EMAIL PROTECTED] http://www.e-smith.org (development) http://www.mitel.com (corporate) Phone: +1 613 592 2122 Fax: +1 613 592 1175 Mitel Networks, 350 Legget Dr, Ottawa, ON K2K 2W7 Canada "If you kill all your unhappy customers, you'll only have happy ones left" -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org