Postfix disable Delivery Status notification
Dec 182016Для полной блокировки DSN добавьте в main,cf:
smtpd_discard_ehlo_keywords = silent-discard, dsn
Для полной блокировки DSN добавьте в main,cf:
smtpd_discard_ehlo_keywords = silent-discard, dsn
Install the perl module List::util::WeightedRoundRobin:
cpan install /List::util::WeightedRoundRobin/
Create the following perl script and make it executable:
vi /etc/postfix/random.pl
Выставление ротации бинарных логов
Прописать в my.conf (my.cnf) строчку expire_logs_days = 5, которая гласит, что время хранения логов — 5 дней. После выставления этого параметра и перезагрузки mysqld сервера устаревшие файлы были удалены.
Its easy!!!
First, check to see if pflogsumm is already installed. You can install pflogsumm depending in which Linux distribution you are using:
If you are familiar with Docker, this is what I use:
# install apcu for php7
RUN cd /opt && git clone https://github.com/krakjoe/apcu && \
cd apcu && \
phpize && \
./configure --enable-apcu && \
make && make install && \
echo "extension=apcu.so" > /usr/local/etc/php/conf.d/ext-apcu.ini
First, I'm assuming you installed PHP7 using the DotDeb APT Repository. If not, this is how you should install it.
Once PHP7 is installed and working properly, and assuming there are no other versions of PHP installed on the system, install apcu via: