From: Sergei Boudnik <sergei@boudnik.kiev.ua>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Вопрос по header_checks и postfix
Date: Wed, 27 Oct 2010 15:50:14 +0300
Message-ID: <4CC82006.7010900@boudnik.kiev.ua> (raw)
In-Reply-To: <4CC81305.9000707@pptk-mos.ru>
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
next parent reply other threads:[~2010-10-27 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 12:50 ` Sergei Boudnik [this message]
2010-10-27 13:28 ` Половников Денис
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=4CC82006.7010900@boudnik.kiev.ua \
--to=sergei@boudnik.kiev.ua \
--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