Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    shared vta group name processor mailer {smtp-server smtp-server;smtp-server-password smtp-server-password;smtp-server-port smtp-server-port ;smtp-server-user smtp-server-user;}
    1. 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 mailer
    2. Configure 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.com
    3. Configure the password used to access the SMTP server.
      [edit shared vta group vta1 processor mailer]user@host# set smtp-server-password smtp-server-password
    4. Configure the port used to connect to the SMTP server.
      [edit shared vta group vta1 processor mailer]user@host# set smtp-server-port smtp-server-port
    5. Configure 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-user
    6. Commit your configuration.
      [edit shared vta group vta1 processor mailer]user@host# commit

    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.

    1. 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 act1
    2. Configure the action to call the mailer-send function.
      [edit shared vta group vta1 action act1]user@host# set function mailer-send
    3. Configure the parameters for the mailer-send function.
      [edit shared vta group vta1 action act1]user@host# set parameter

      Specify 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
    4. 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-action
    5. Configure the event handler and specify the action you configured in the previous steps of this procedure.

      See Configuring Event Handlers (SRC CLI).

    Published: 2014-12-16