Commit 3e1a9338 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Reconfigure PHP to use postfix as mailer

parent 3d4e50e7
......@@ -32,6 +32,9 @@ all: postfix-service
sed -i 's/^#alias_maps = hash:\/etc\/aliases$$/alias_maps = hash:\/etc\/aliases/' /etc/postfix/main.cf
@echo "$$POSTFIX_SERVICE" > /lib/systemd/system/postfix.service
systemctl enable postfix.service
if [ -f "/etc/php.ini" ]; then \
sed -i 's/^.*sendmail_path.*=.*/sendmail_path = "\/usr\/sbin\/sendmail -t -i"/' /etc/php.ini ; \
fi
rm -rf postfix-3.5.4
postfix-service:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment