Categories (articles)
DirectAdmin*nix системы
Антивирусы
PHP
ISECK CMS
Социальное развитие
Last 5 articles
Взлом сайта через htaccessГенератор конфигурации apache + nginx
Доступна ISECK CMS 0.3
Решение проблемы с квотами (sh: /usr/sbin/set
Результаты стресс тестирования ISECK.CMS 0.2
Friends
any linksWeak always is afraid to repulse..
At copying clauses from our site, leave please a name of the author. The author will be rather grateful to you. Thanks!
Обновление конфига exim.
В этой статье "Спамеры - не дадим им ходу" я описывал как защитить свой сервер от спаммеров. Но в процессе необходимо обновить конфиги exim и пропатчить Dovecot (если он используется). Вот именно сейчас я расскажу о том как это сделать =).
Чтобы воспользоваться всеми опциями exim, вам необходимо обновить exim.conf ,чтобы это сделать выполните следующие команды под рутом:
wget -O /etc/exim.conf http://files.directadmin.com/services/exim.conf
wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl
chmod 755 /etc/exim.pl
cd /etc/virtual
touch blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders
echo 0 > limit
mkdir usage
chown mail:mail blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders limit usage
patch -p0 < /usr/local/directadmin/customapache/exim.conf.dovecot.patch
patch -p0 < /usr/local/directadmin/custombuild/exim.conf.dovecot.patch
Теперь перезагрузите exim:
RedHat:
/sbin/service exim restart
Debian:
/etc/init.d/exim restart
FreeBSD:
/usr/local/etc/rc.d/exim restart
Котелов В.
2008-03-08 13:37:56
Dear readers!
Any distribution of materials taken from given site ACCEPTED! We and We shall be rather glad to development of users :) for a freedom of speech if you will leave the comment or will pass the link to clause to the friend.
If you wish to copy clause on the site or the block – please, we shall be rather grateful to you if you will leave a name of the author of clause.
Thanks, we hope for mutual understanding, success ;)
.