docker-mailserver/target/postsrsd-wrapper.sh
Jurek Barth e1e4542390 Fix: Add SRS to fix SPF issues on redirect #611 (#814)
* add srs support

* change autorestart behavior

* this may work now

* make postsrsd’s own wrapper file

* fix dockerfile formatting

* fixing tests
2018-02-06 08:11:57 +01:00

9 lines
177 B
Bash

#!/usr/bin/env bash
# postsrsd-wrapper.sh, version 0.1.0
DOMAINNAME="$(hostname -d)"
sed -i -e "s/localdomain/$DOMAINNAME/g" /etc/default/postsrsd
/etc/init.d/postsrsd start