many years ago when I switched to postfix, I had a problem with some
large, nested aliases in the aliases file - an invalid recipient
somewhere in the list would cause a send failure and so the message to
the alias would be requeued with the result being that those recipients
before the problem would get multiple copies and those after would not
get the mail.  It was suggested to me at the time to use virtual aliases
for the large lists as the recipients in a virtual alias
are sent to individually. So I constructed my normal alias file as something like:

group_1:     user1, user2, user3, etc.
group_2:     user10, user11, user12, etc.
group_3:     user20, user21, user22, etc.


Then in virtual, I put;

all-groups:    group_1, group_2, group_3

If there were a problem in group_2, mail to group_1 and group_3 would be
properly sent and it was easier to track down the issue with group_2.

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.

It's not exactly the same server - I set up a new(er) system in the new location
and am trying to switch over services and I just discovered that the virtual
aliases were not working on the new one.  My old location server is running
postfix 2.6.5, the new location is running 2.7.0.  My main.cf does not define
virtual aliases or domains, I just reference the virtual_alias map file:
virtual_alias_maps = hash:/etc/postfix/virtual

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.

Dirk

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to