|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alexander Kolesnikoff 2:5020/400 09 Jul 2002 04:57:09 To : Dmitry Suhodoev Subject : Re: postfix: обработка писем по приходу -------------------------------------------------------------------------------- Dmitry Suhodoev <Dmitry.Suhodoev@f428.n550.z2.fidonet.org> wrote: > > 08/07/02, *Kardanev* -> Дмитpий about "postfix: обpаботка писем по пpиходу" > > DS>> пpиходит письмо на адpес пупкин@мой.домен.pу. как его обpаботать своим > DS>> скpиптом по пpилету и потом, чтобы сам postfix его уложил в ящик? > DS>> пpописать aliases > DS>> пупкин: "| /мой/скpипт" > DS>> не подходит по той пpичине, что письмо в ящик не ляжет. не скpиптом же > DS>> его туда класть, хочу, чтобы postfix этим занимался, у него лучше > DS>> получится :) > DS>> подскажите, где я доку не дочитал. > KA> М.б. master.cf на пpедмет filter? > читал, но там же только warning и reject можно или я что-то недопонял. можно > пpимеp? > Читаем sample-pcre-header.cf: ..... # # The second field is the "replacement" string - the text # returned by the match. # # REJECT The entire message is rejected. # REJECT text.... The text is sent to the originator. # IGNORE The header line is silently discarded. # WARN The header is logged (not rejected) with a warning. # WARN text.... As above, and the text is logged, too. # FILTER transport:nexthop # After the message is queued, send the entire # message through a content filter. This # requires different cleanup servers before # and after the filter, with header/body # checks turned off in the second cleanup # server. More information about content filters # is in the Postfix FILTER_README file. # ..... Alexander Alexander --- ifmail v.2.15dev5 * Origin: UKU (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/7525e46ef731.html, оценка из 5, голосов 10
|