Okay - from searching through the archives etc - I can't seem to find a way of implementing an alias domain (which maps to a main domain's accounts - eg. [EMAIL PROTECTED] is mapped to [EMAIL PROTECTED] and so is every other account @maindomain.com) without creating separate accounts for this domain.  I tried adding thisdomain.com to the Postfix var $mydestination - and also to the virtual_alias_domains var but Postfix complained that no local account was there for [EMAIL PROTECTED].
 
Therefore, I'm planning on having a perl script do a SELECT * FROM virtual WHERE alias = [EMAIL PROTECTED] and then automatically create enties in virtual table with alias = [EMAIL PROTECTED] but keeping the 'dest' and 'username' fields as [EMAIL PROTECTED]  Hopefully this would create all the necessary local aliases to allow what I want to work.
 
Does this sound sensible?  I propose that either I modify web-cyradm to run the Perl script when a new account is added, or just run it as a cron job regularly (with a check that the entry doesn't already exist etc).
 
Thoughts?
 
David
----- Original Message -----
To: Cyrus
Sent: Wednesday, July 30, 2003 10:21 AM
Subject: Multiple domains and Cyrus/Web-cyradm

I've got Cyrus/Postfix/Web-cyradm set up to handle our main domain email (will go live next week hopefully).  However, I've just realised that we also have a few other domains which are all just aliases to the main domain.  How can I set this up?  We currently use EIMS on a Mac and that happily has alias domains in there and maps them all to the main domain's accounts.
 
Typical that I remember this a few days before we planned to go live!
 
Thanks
 
D

Reply via email to