I was having an issue with aliases and that they weren't being consulted
before a local user when a virtualdomain was involved. So I found this in
the list archives:

------------------------------------------------------------------------
You might make the domain a virtual domain instead of a local domain. In
control/virtualdomains, put:

yourdomain.com:alias-yourdomain

In ~alias/.qmail-yourdomain-default, put:

| fastforward -d -p /etc/aliases.cdb
| forward "$DEFAULT"

fastforward will get first whack at delivery. The -p causes fastforward to
exit 0 if delivery fails, causing delivery to be handled by the next line,
which forwards the mail to the local user $DEFAULT.
------------------------------------------------------------------------
I'm not quite sure what the local user $DEFAULT is, but if there isn't an
alias explicitly setup for a user, I need it to deliver to the local user
that matches. I also just setup a .qmail-alias-aliases that has the above
in it and I forward all my virtual domains when they need specific aliases
to it. I hope this is ok. Thanks 


andy


--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "


Reply via email to