-
-
Notifications
You must be signed in to change notification settings - Fork 3
vsmtp.8
vsmtp - Setup artificial routes for qmail-remote
vsmtp [ options hostid@domain_name -m mta | -s domain_name ]
vsmtp sets up artificial routes for qmail-remote(8) to be able to deliver mails to the mailstore on host hostid and domain domain_name. This route is used by qmail-remote(8) to send mails using SMTP or QMTP for clustered domains. For all other domains the control/smtproutes or control/qmtproutes is consulted. This routing information is stored in MySQL on a host which by nomenclature is called the control host.
The control host is defined by the control files host.master / host.cntrl or the environment variables CNTRL_HOST, CNTRL_USER, CNTRL_PASS, CNTRL_VPORT or CNTRL_SOCKET.
-v
Sets Verbose option.
-s
Show smtp ports for a virtual domain or SMTP Route between a MTA host
and a mailstore having the domain domain_name
-d
Delete SMTP Route between a MTA host and a mailstore.
-i port
Add SMTP Route between a MTA host and a mailstore
-u port
Change SMTP Route between a MTA host and a mailstore
-m mta_ipaddress
The ip address of the MTA which needs a SMTP route to the mailstore.
hostid@domain
The mailstore hostid followed by '@' sign and the domain_name.
domain_name
The name of the virtual domain.
0 for success, 1 for any failure.