* Re: [Sysadmins] Вопрос по header_checks и postfix @ 2010-10-27 12:50 ` Sergei Boudnik 2010-10-27 13:28 ` Половников Денис 0 siblings, 1 reply; 3+ messages in thread From: Sergei Boudnik @ 2010-10-27 12:50 UTC (permalink / raw) To: sysadmins 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] Вопрос по header_checks и postfix 2010-10-27 12:50 ` [Sysadmins] Вопрос по header_checks и postfix Sergei Boudnik @ 2010-10-27 13:28 ` Половников Денис 2010-10-27 15:12 ` Sergei Boudnik 0 siblings, 1 reply; 3+ messages in thread From: Половников Денис @ 2010-10-27 13:28 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 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) ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] Вопрос по header_checks и postfix 2010-10-27 13:28 ` Половников Денис @ 2010-10-27 15:12 ` Sergei Boudnik 0 siblings, 0 replies; 3+ messages in thread From: Sergei Boudnik @ 2010-10-27 15:12 UTC (permalink / raw) To: sysadmins 27.10.2010 16:28, Половников Денис пишет: > 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 >> > Спасибо поправил. Но все равно не пашет :-) > Тогда причина еще и в этом: This feature is not supported with smtp header/body checks. -- WBR, Sergei Boudnik -------------------------- SSB1-UANIC ========================== Trap for spam & virii: trap@boudnik.kiev.ua ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-27 15:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-10-27 12:50 ` [Sysadmins] Вопрос по header_checks и postfix Sergei Boudnik 2010-10-27 13:28 ` Половников Денис 2010-10-27 15:12 ` Sergei Boudnik
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