--Zenon Panoussis wrote on 02.10.2002 16:03 +0200:
... The result
was that mail for jo...@two.com got delivered to pete and mail
for pe...@one.com got delivered to john.
Isn't that what you wanted? What's the problem?
No, that's not what I want. I want the domain to take
precedence, so that *all* mail for one.com goes to user
john, including mail for pe...@one.com and ji...@one.com.
What happened is that the username took precedence, so
that mail for pete@anydomain goes to pete. As result,
no domain can use any account name which exists as a
system user.
Then dont put one.com, two.com and anydomain into etc/locals.
Look at "VIRTUAL DOMAINS" in 'man makealiases'. Create
.courier-<address> files in the users' home directories to control
delivery of the virtual addresses.
What I need - I don't know if it's possible - is delivery
of *any* @domain mail to a certain user, including mail
for invented addresses. The .courier-<address> system
can only handle addresses that have been pre-configured
by the user, but does not provide a catch-all for typo'ed
addresses and the like.
Read dot-courier(8) again, and create the .courier-default.
Roland