-
-
Notifications
You must be signed in to change notification settings - Fork 3
hostcntrl.8
Manvendra Bhangui edited this page Feb 25, 2024
·
3 revisions
hostcntrl - add, modify, delete hostcntrl entries
hostcntrl [-ihostid | -m hostid | -d hostid] user@domain
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.
-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.
0 for success, 1 for any failure.
vsmtp(8), vhostid(8), dbinfo(8), IndiMail(7)