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
|
- Multiple domains and Cyrus/Web-cyradm David Hearn
- David Hearn