Configuring the Mailer Processor for the SRC VTA Group (SRC CLI)
Configuring the mailer processor involves the following tasks:
Configuring the SRC VTA Mailer Processor to Send E-Mail Notifications (SRC CLI)
Use the SRC VTA mailer processor to specify the SMTP server to use for e-mail messages that the SRC VTA sends to subscribers.
Use the following statement to configure the mailer processor:
From configuration mode, access the statement that configures the SRC VTA mailer processor. For example, to configure the mailer processor for the SRC VTA group called vta1:
[edit]user@host# edit shared vta group vta1 processor mailerConfigure the SMTP server used for outgoing e-mail by specifying the host name or IP address of the SMTP server. For example, set the SMTP server to a host called mail.example.com:
[edit shared vta group vta1 processor mailer]user@host# set smtp-server mail.example.comConfigure the password used to access the SMTP server.
[edit shared vta group vta1 processor mailer]user@host# set smtp-server-password smtp-server-passwordConfigure the port used to connect to the SMTP server.
[edit shared vta group vta1 processor mailer]user@host# set smtp-server-port smtp-server-portConfigure the username for accessing the SMTP server. mail.example.com:
[edit shared vta group vta1 processor mailer]user@host# set smtp-server-user smtp-server-userCommit your configuration.
[edit shared vta group vta1 processor mailer]user@host# commit
See also
Configuring the SRC VTA to Send E-Mail Notifications (SRC CLI)
To configure the SRC VTA to send e-mail notifications, you need to configure an event handler that specifies an action that calls the mailer-send function.
From configuration mode, access the statement that configures an action for the SRC VTA event handler. For example, to create an action called act1 for the SRC VTA group called vta1:
[edit]user@host# edit shared vta group vta1 action act1Configure the action to call the mailer-send function.
[edit shared vta group vta1 action act1]user@host# set function mailer-sendConfigure the parameters for the mailer-send function.
[edit shared vta group vta1 action act1]user@host# set parameterSpecify the following parameters for the mailer-send function:
Recipient—Address of the e-mail recipient
From—Address of the e-mail sender
Subject—Subject of the e-mail
Text—Text of the e-mail
Configure what to do if an error occurs. For example, to configure the event handler to go to the next action if an error occurs:
[edit shared vta group vta1 action act1]user@host# set on-error go-to-next-actionConfigure the event handler and specify the action you configured in the previous steps of this procedure.