summaryrefslogtreecommitdiff
path: root/network/ssmtp/doinst.sh
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2012-11-23 16:13:00 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-11-24 15:36:46 -0500
commit99e03c77a4dcb27538db5388ace782afafcde88e (patch)
tree686d45fb68e8686c738fc44245895a2ac31efed5 /network/ssmtp/doinst.sh
parent2ee0f6fef1d8db8dfaabd3a293a9825097986d28 (diff)
downloadslackbuilds-99e03c77a4dcb27538db5388ace782afafcde88e.tar.gz
network/ssmtp: Added (simple MTA that forwards to a smarthost).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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