Skip to content

vsmtp.8

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

NAME

vsmtp - Setup artificial routes for qmail-remote

SYNOPSYS

vsmtp [ options hostid@domain_name -m mta | -s domain_name ]

DESCRIPTION

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.

OPTIONS

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

RETURN VALUES

0 for success, 1 for any failure.

SEE ALSO

qmail-remote(8), hostcntrl(8), vhostid(8), dbinfo(8),

Clone this wiki locally