Commit e5690064 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Configured /etc/aliases

parent 891ee074
...@@ -27,6 +27,9 @@ all: postfix-service ...@@ -27,6 +27,9 @@ all: postfix-service
$(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 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 $(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 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
cp /etc/postfix/aliases /etc/aliases
newaliases
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 @echo "$$POSTFIX_SERVICE" > /lib/systemd/system/postfix.service
systemctl enable postfix.service systemctl enable postfix.service
rm -rf postfix-3.5.4 rm -rf postfix-3.5.4
......
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