Skip to content

hostcntrl.8

Manvendra Bhangui edited this page Feb 25, 2024 · 3 revisions

NAME

hostcntrl - add, modify, delete hostcntrl entries

SYNOPSYS

hostcntrl [-ihostid | -m hostid | -d hostid] user@domain

DESCRIPTION

hostcntrl is meant for listing, adding, deleting, modifying user records in the hostcntrl table for a clustered setup. This is especially useful when you may move a user from one host to another host in a clustered setup.

OPTIONS

-v
Sets verbose operation

-s
Shows records pertaining to user@domain in the hostcntrl table.

-i hostid
Inserts hostid as the host for user@domain. You can use *@domain to denote a default host for all users.

-m
Updates host as hostid for the given user@domain.

-d
Deletes the host for the given user@domain.

user@domain
The Email ID for the user.

RETURN VALUE

0 for success, 1 for any failure.

SEE ALSO

vsmtp(8), vhostid(8), dbinfo(8), IndiMail(7)

Clone this wiki locally