summaryrefslogtreecommitdiffstats
path: root/network/ssmtp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/ssmtp/doinst.sh')
-rw-r--r--network/ssmtp/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/ssmtp/doinst.sh b/network/ssmtp/doinst.sh
new file mode 100644
index 0000000000..c6d8a19d37
--- /dev/null
+++ b/network/ssmtp/doinst.sh
@@ -0,0 +1,6 @@
+/usr/doc/ssmtp-2.64/generate_config /etc/ssmtp/ssmtp.conf
+if [ ! -e /usr/sbin/sendmail ];then
+ ln -s ssmtp /usr/sbin/sendmail
+else
+ echo '/usr/sbin/sendmail already exists!'
+fi