Re: Рулесы и discard

От: Dmitry Akindinov <CGatePro_at_mx_ru>
Дата: Thu 03 Jul 2003 - 15:02:07 MSD


Hello, on 03.07.2003 12:01, (Vladimir Zarozhevsky) at CGatePro@mx.ru wrote:

> Добрый день.
>
> FreeBSD 4.2-STABLE
> CGPro 4.0.6
>
> Есть такое правило:
> (
> 6,
> "Subject:* *",
> (
> (Subject, is, "* *"),
> (From, "is not", "*@*my.u"),
> (From, "is not", "*@*mu.u"),
> ("Header Field", "is not", "X-Autogenerated:*Redirect"),
> (Subject, "is not", " *"),
> ("Header Field", "is not", "*g@i.u*")
> ),
> (("Redirect to", spam@i.u), (Discard))
> ),
>
>
> Наблюдаю картину в логе:
> /var/CommuniGate/SystemLogs > grep 1165923 2003-07-03.log
> 21:30:44.89 2 SMTPI-08075([216.112.23.74]) [1165923] received, 5122 bytes
> 21:30:44.89 4 SMTPI-08075([216.112.23.74]) rsp: 250 1165923 message accepted
> for delivery
> 21:30:44.89 2 QUEUE([1165923]) from <jhdljg@caravan.ru>, 5122 bytes
> (<DCOoiB5ANH2cv0aGltF000003a2@dco.beijingtrade.net>)
> 21:30:44.89 2 ENQUEUERRULES [1165923] rule 'Subject:* *'(Redirect) ->
> [1165924]
> 21:30:44.89 2 ENQUEUERRULES [1165923] rule(Subject:* *) discarded the
> message
> 21:30:44.89 2 ENQUEUER-02([1165923]) discarded by Rules
> 21:30:44.89 2 DEQUEUER [1165923] SYSTEM()e@a.l.m.u delivered
> 21:30:44.95 2 QUEUE([1165923]) deleted
>
> Возникает вопрос: Оно delivered или discarded?
>
> Во втором моменте вылезают 2 DEQUEUER'a о доставке:
>
> /var/CommuniGate/SystemLogs > grep 1347225 2003-07-03.log
> 12:34:29.06 2 SMTPI-70304(host81-134-0-15.in-addr.btopenworld.com) [1347225]
> received, 25449 bytes
> 12:34:29.06 4 SMTPI-70304(host81-134-0-15.in-addr.btopenworld.com) rsp: 250
> 1347225 message accepted for delivery
> 12:34:29.29 2 QUEUE([1347225]) from <xtu3@mail.com>, 25449 bytes
> (<auto-000001347225@izhnet.ru>)
> 12:34:29.29 2 ENQUEUERRULES [1347225] rule 'Subject:* *'(Redirect) ->
> [1347226]
> 12:34:29.29 2 ENQUEUERRULES [1347225] rule(Subject:* *) discarded the
> message
> 12:34:29.29 2 ENQUEUER-03([1347225]) discarded by Rules
> 12:34:29.29 2 DEQUEUER [1347225] SYSTEM() delivered
> 12:34:29.29 2 DEQUEUER [1347225] SYSTEM() delivered
> 12:34:29.81 2 QUEUE([1347225]) deleted

Discarded - что то же самое, что delivered to null - с точки зрения сервера.

-- 
Best regards,
Dmitry Akindinov -- Stalker Labs
Получено Thu Jul 03 11:02:13 2003

Этот архив был сгенерирован hypermail 2.1.8 : Tue 21 Feb 2006 - 03:14:26 MSK