Configuration
This document describes how to enable and disable the Event Notification System for the types of GreenArrow Studio events that you wish to be notified about:
- SSH into your GreenArrow server.
-
Login to PostgreSQL as the Greenarrow user:
/var/hvmail/postgres/default/bin/psql -U greenarrow -
Enable or disable the event types that you wish to receive by updating the desired
event_notification_*columns in thes_system_configstable:Column Name Event Type event_notification_studio_clickstudio_clickevent_notification_studio_openstudio_openevent_notification_studio_unsubstudio_unsubevent_notification_bounce_allbounce_allevent_notification_bounce_bad_addressbounce_bad_addressevent_notification_scompscompevent_notification_studio_subscriber_createdstudio_subscriber_createdevent_notification_studio_subscriber_updatedstudio_subscriber_updated-
Example 1: To enable all event types, run:
UPDATE s_system_configs SET event_notification_studio_click = TRUE, event_notification_studio_open = TRUE, event_notification_studio_unsub = TRUE, event_notification_bounce_all = TRUE, event_notification_bounce_bad_address = TRUE, event_notification_scomp = TRUE, event_notification_studio_subscriber_created = TRUE, event_notification_studio_subscriber_updated = TRUE; -
Example 2: To disable all event types, run:
UPDATE s_system_configs SET event_notification_studio_click = FALSE, event_notification_studio_open = FALSE, event_notification_studio_unsub = FALSE, event_notification_bounce_all = FALSE, event_notification_bounce_bad_address = FALSE, event_notification_scomp = FALSE, event_notification_studio_subscriber_created = FALSE, event_notification_studio_subscriber_updated = FALSE;
-
-
Logout of PostgreSQL:
\q -
Apply changes:
svc -t /service/hvmail-passenger /service/hvmail-studio-worker sleep 7 svstat /service/hvmail-passenger /service/hvmail-studio-worker - Review the Event Delivery Methods document, and pick which method you would like to use to receive Event Notification System data.
