Alin Nastac wrote:
>
> Folosind virtusertable. Ceva de genu':
> @xxx.com error:No can do
>
pe bune? io cetesc precum vitica in cazul asta docomentatia in care zice:
virtusertable A domain-specific form of aliasing, allowing multiple
virtual domains to be hosted on one machine. For example,
if the virtuser table contained:
[EMAIL PROTECTED] foo-info
[EMAIL PROTECTED] bar-info
[EMAIL PROTECTED] error:nouser No such user here
[EMAIL PROTECTED] error:D.S.N:unavailable Address
invalid
@baz.org [EMAIL PROTECTED]
then mail addressed to [EMAIL PROTECTED] will be sent to the
address foo-info, mail addressed to [EMAIL PROTECTED] will be
delivered to bar-info, and mail addressed to anyone at
baz.org
will be sent to [EMAIL PROTECTED], mail to [EMAIL PROTECTED] will
be rejected with the specified error message, and mail to
[EMAIL PROTECTED] will also have a RFC 1893 compliant error code
D.S.N.
The username from the original address is passed
as %1 allowing:
@foo.org [EMAIL PROTECTED]
meaning [EMAIL PROTECTED] will be sent to
[EMAIL PROTECTED]
Additionally, if the local part consists of "user+detail"
then "detail" is passed as %2 when a match against user+*
is attempted, so entries like
old+*@foo.org [EMAIL PROTECTED]
gen+*@foo.org [EMAIL PROTECTED]
+*@foo.org [EMAIL PROTECTED]
and other forms are possible. Note: to preserve "+detail"
for a default case (@domain) +*@domain must be used as
exemplified above.
All the host names on the left hand side (foo.com,
bar.com,
and baz.org) must be in class {w} or class {VirtHost}, the
latter can be defined by the macros VIRTUSER_DOMAIN or
VIRTUSER_DOMAIN_FILE (analogously to MASQUERADE_DOMAIN and
MASQUERADE_DOMAIN_FILE, see below). If VIRTUSER_DOMAIN or
VIRTUSER_DOMAIN_FILE is used, then the entries of class
{VirtHost} are added to class {R}, i.e., relaying is
allowed
to (and from) those domains. The default map definition
is:
hash /etc/mail/virtusertable
A new definition can be specified as the second argument
of
the FEATURE macro, such as
FEATURE(`virtusertable', `dbm
/etc/mail/virtusers')
blonda
--
Camelia Nastase, [EMAIL PROTECTED]
Network Administrator
Dynamic Network Technologies, Romania
Tel: +40-1-2106863 Fax: +40-1-3122745
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.