From 9ba305da60a70231a5e818de5716d1c621b13d77 Mon Sep 17 00:00:00 2001 From: Daniel Winzen <daniel@danwin1210.me> Date: Tue, 7 Jan 2020 19:43:30 +0100 Subject: [PATCH] Removed old sendmail_wrapper.php script --- install_binaries.sh | 2 +- var/www/sendmail_wrapper.php | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 var/www/sendmail_wrapper.php diff --git a/install_binaries.sh b/install_binaries.sh index 2c19ae8..bc8c785 100755 --- a/install_binaries.sh +++ b/install_binaries.sh @@ -1228,7 +1228,7 @@ EOF ./auto/configure --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/tmp/body --http-fastcgi-temp-path=/tmp/fastcgi --http-proxy-temp-path=/tmp/proxy --with-threads --with-file-aio --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-http_v2_hpack_enc --with-http_gzip_static_module --without-http_ssi_module --without-http_userid_module --without-http_access_module --without-http_mirror_module --without-http_geo_module --without-http_split_clients_module --without-http_uwsgi_module --without-http_scgi_module --without-http_grpc_module --without-http_memcached_module --without-http_limit_conn_module --without-http_limit_req_module --without-http_empty_gif_module --without-http_browser_module --without-http_upstream_hash_module --without-http_upstream_ip_hash_module --without-http_upstream_least_conn_module --without-http_upstream_keepalive_module --without-http_upstream_zone_module --with-stream --with-stream_ssl_module --without-stream_limit_conn_module --without-stream_access_module --without-stream_geo_module --without-stream_map_module --without-stream_split_clients_module --without-stream_return_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_zone_module --with-cc-opt='-O3 -march=native -mtune=native -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC' --add-module=ngx_brotli make -j $(nproc) install -make distclean +make clean git reset --hard cd .. ln -fs /usr/include/qdbm/depot.h /usr/include/depot.h diff --git a/var/www/sendmail_wrapper.php b/var/www/sendmail_wrapper.php deleted file mode 100644 index 63a5953..0000000 --- a/var/www/sendmail_wrapper.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php -$head=true; -while($line=fgets(STDIN)){ - if($head && stripos(ltrim($line), 'FROM')===0){ - continue; - } - if($head && ($line==="\r\n" || $line==="\n")){ - $head=false; - echo "From: $argv[1]\r\n"; - } - echo $line; -}