From: "Половников Денис" <denis@pptk-mos.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Вопрос по header_checks и postfix
Date: Wed, 27 Oct 2010 17:28:10 +0400
Message-ID: <4CC828EA.7010109@pptk-mos.ru> (raw)
In-Reply-To: <4CC82006.7010900@boudnik.kiev.ua>
27.10.2010 16:50, Sergei Boudnik пишет:
> 27.10.2010 14:54, Половников Денис пишет:
>> Приветству,
>>
>> Возникла тут потребность настроить чтоб письма с X-SPAM-FLAG: YES
>> присылались на определенный ящик. Прочитал доку по header_checks сделал
>> все как написано.
>> Создал файлик spam со следующим содержимым : /^X-SPAM-FLAG: YES/
>> REDIRECT denis@pptk-mos.ru
>>
>> В master.cf добавил строчку
>>
>> 127.0.0.1:10026 inet n - n - 16 smtpd
>> -o content_filter=
>> -o
>> receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>>
>> -o smtpd_helo_restrictions=
>> -o smtpd_client_restrictions=
>> -o smtpd_sender_restrictions=
>> -o smtpd_recipient_restrictions=permit_mynetworks,reject
>> -o mynetworks_style=host
>> -o smtpd_authorized_xforward_hosts=127.0.0.0/8
>> *-o header_checks=regexp:/etc/postfix/spam*
>>
>> Но чего то не выходит у меня каменный цветок. Помеченное письмо
>> доставляется адресату и не редиректится.
>
> Это потому, что оно как-то плохо сочетается с -o
> receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>
>
>
> WBR, Sergei Boudnik
> --------------------------
> SSB1-UANIC
> ==========================
> Trap for spam & virii:
> trap@boudnik.kiev.ua
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
Спасибо поправил. Но все равно не пашет :-)
--
Системный администратор
Половников Денис Владимирович
ООО "ППТК" г. Москва,1-ый Магистральный тупик, д.11, стр.10
Тел.: (495) 287-01-90 (доб.265)
next prev parent reply other threads:[~2010-10-27 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 12:50 ` Sergei Boudnik
2010-10-27 13:28 ` Половников Денис [this message]
2010-10-27 15:12 ` Sergei Boudnik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC828EA.7010109@pptk-mos.ru \
--to=denis@pptk-mos.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git