Тут не исправить уже ничего, Господь, жги! Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1239.0 пользователей не могут ошибаться!
?6941
прекрасное6443
говно5904
говнорашка5512
хуита4709
anime3065
linux2651
music2633
bnw2601
рашка2565
log2354
ололо2161
дунч1817
pic1815
сталирасты1491
украина1439
быдло1437
bnw_ppl1416
дыбр1238
гімно1158

http://undeadly.org/cgi?action=article&sid=20130130081741

OpenSMTPD has had filters for over a year now, but disabled as the API is not stable and there were more important stuff to deal with.
Filters in OpenSMTPD are standalone programs that are linked against a lib we provide to demonize and provide an event-based callback mechanism.
The filters can be very very easy and an example of a working filter could be as simple as:

void
mail_cb(uint64_t id, struct filter_mail *p, void *arg)
{
    /* block idiots */
    if (! strcmp(p->domain, "0pointer.net")) {
        filter_api_reject(id, 530, "You're not welcome, go away !");
        return;
    }

    filter_api_accept(id);
}
#TMPARH (0+2) / @like-all / 3681 день назад
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.