ISECK LABORATORY
writeln('hello world!');

Weak 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

Если Вы используете dovecot (в качество поп и смтп сервера), то вам необходимо пропатчить его с новым exim.conf, для этого выполните:



patch -p0 < /usr/local/directadmin/customapache/exim.conf.dovecot.patch

– выполняйте это, если используете customapache конфигуратор (перевод будет в скором будущем =)).


patch -p0 < /usr/local/directadmin/custombuild/exim.conf.dovecot.patch

-выполняйте это,если Вы используете custombuild (русский мануал я написал, и он лежит здесь: http://ise.su/read/custombuild-faq-directadmin)


Теперь перезагрузите exim:


RedHat:

/sbin/service exim restart

Debian:

/etc/init.d/exim restart

FreeBSD:

/usr/local/etc/rc.d/exim restart


С уважением Котелов Валерий, 08.03.2008


Котелов В. 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 ;)

.