-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstart.sh
executable file
·27 lines (22 loc) · 1015 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
# Customise the following file to set up your environment vars
. setenvs.sh
./tracker -logfile tracker.log &
./feeder -logfile feeder.log &
# needs to be started as root if in_hostport is in range 1..1024
sudo ./wrapper -in_hostport :587 -out_hostport :5587 \
-privkeyfile /etc/pki/tls/private/trymsys.net.key \
-certfile /etc/pki/tls/certs/trymsys.net.crt \
-logfile wrapper.log \
-insecure_skip_verify \
-tracking_url https://pmta-signalsdemo.trymsys.net \
-track_open -track_initial_open -track_click &
# -verbose \
# -downstream_debug debug_downstream.log -upstream_data_debug debug_upstream.eml \
# Note using https: tracking, a standard wildcard cert only permits one level of subdomain, as per
# https://www.digicert.com/kb/ssl-support/wildcard-san-names.htm
# acct_etl is run directly by PowerMTA - refer to README.md for how to set this up
sudo service pmta stop
sudo cp acct_etl /usr/local/bin/acct_etl
sudo chown pmta:pmta /usr/local/bin/acct_etl
sudo service pmta start