You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page May 28, 2024
·
4 revisions
NAME
vipmap - maps an ip address to a virtual domain
SYNOPSYS
vipmap [ options ] ip_addressvirtual_domain
DESCRIPTION
vipmap maps an ip address to a virtual domain. During authentication
if any connection from an mapped ip address gives a user without the
domain part, the same will be used from an existing mapping. In case a
host has multiple ip addresses, individual ip addresses can be mapped to
individual virtual domains. This can be used instead of the environment
variable DEFAULT_DOMAIN or INDIMAIL_DOMAIN. The environment variable
INDIMAIL_DOMAIN takes precedence.
OPTIONS
-v
Sets verbose option.
-dipaddr
Deletes mapping for ip address ipaddr and domain virtual_domain
-iipaddr
Adds a mapping between IP address ipaddr and domain virtual_domain
-p
Prints mapping between all IP addresses and virtual domains.
virtual_domain
Name of the new virtual domain.
RETURN VALUES
for -p, -a option, 0 if all steps were successful, non-zero otherwise.
for all other options, it returns number of rows affected or 111 for
failure If any of the steps fail, a diagnostic message is printed.