Re: virtual alias problem
- On 5/28/2012 8:08 PM, Sahil Tandon wrote:
> On Mon, 2012-05-28 at 17:52:24 -0700, Dirk Kleinhesselink wrote:I see two possible problems...
>> Then in virtual, I put;
>> all-groups: group_1, group_2, group_3
First, with virtual_alias_maps it is strongly recommended to use
fully-qualified addresses and not bare user names. Bare names are
supported, but can give unexpected results unless you carefully read
the "table search order" of virtual(5).
Secondly, the format of virtual_alias_maps does NOT use the ":"
separator between the key and the data. With your example above,
postfix would expect the user name to be "all-groups:@$myorigin"
So your virtual map should resemble:
all-groups@... group_1@localhost, group2@localhost, ...
If this doesn't help, follow Sahil's advice and provide better
-- Noel Jones
>> I'm now moving my mail server within the organization to a new
>> subdomain, but I intend to keep the same mail address scheme we've
>> always used. I copied in my old configuration on the new server, but
>> I'm now getting a failure for the aliases in the virtual file, giving
>> me an error: all-groups unknown user.
> Can we see the actual log excerpt?
>> I have set mydestination to be my desired domain and added in one for
>> the new subdomain.
>> Thanks for any assistance. I've gone through the virtual and local
>> readmes, but I am not seeing the solution.
> Can we see the output of 'postconf -n'? Absent additional information,
> I guess you may find a clue in virtual(5) under TABLE SEARCH ORDER.