Commit b8a9c05b authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated postfix to 3.6.1

parent 3e1a9338
......@@ -23,10 +23,10 @@ all: postfix-service
mv -v /etc/gshadow /data/etc/gshadow
ln -sv /data/etc/gshadow /etc/gshadow
chown -v postfix:postfix /var/mail
tar xf postfix-3.5.4.tar.gz
$(MAKE) -C postfix-3.5.4 CCARGS="-DUSE_TLS -I/usr/include/openssl/ -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DHAS_LDAP" AUXLIBS="-lssl -lcrypto -lsasl2 -lldap -llber" makefiles
$(MAKE) -C postfix-3.5.4
cd postfix-3.5.4 && sh postfix-install -non-interactive daemon_directory=/usr/lib/postfix manpage_directory=/usr/share/man html_directory=/usr/share/doc/postfix-3.5.4/html readme_directory=/usr/share/doc/postfix-3.5.4/readme
tar xf postfix-3.6.1.tar.gz
$(MAKE) -C postfix-3.6.1 CCARGS="-DUSE_TLS -I/usr/include/openssl/ -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DHAS_LDAP" AUXLIBS="-lssl -lcrypto -lsasl2 -lldap -llber" makefiles
$(MAKE) -C postfix-3.6.1
cd postfix-3.6.1 && sh postfix-install -non-interactive daemon_directory=/usr/lib/postfix manpage_directory=/usr/share/man html_directory=/usr/share/doc/postfix-3.6.1/html readme_directory=/usr/share/doc/postfix-3.6.1/readme
cp /etc/postfix/aliases /etc/aliases
newaliases
sed -i 's/^#alias_maps = hash:\/etc\/aliases$$/alias_maps = hash:\/etc\/aliases/' /etc/postfix/main.cf
......@@ -35,7 +35,7 @@ all: 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
rm -rf postfix-3.6.1
postfix-service:
define 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