Skip to content

vipmap.1

Manvendra Bhangui edited this page May 28, 2024 · 4 revisions

NAME

vipmap - maps an ip address to a virtual domain

SYNOPSYS

vipmap [ options ] ip_address virtual_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.

-d ipaddr
Deletes mapping for ip address ipaddr and domain virtual_domain

-i ipaddr
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.

SEE ALSO

imapd(8)

Clone this wiki locally