Re: rules

От: Maxim Berlin <CGatePro_at_mx_ru>
Дата: Sat 21 Feb 2009 - 17:14:51 MSK

On Sat, 21 Feb 2009 16:38:37 +0300
  "Roman Prokhorov" <CGatePro@mx.ru> wrote:

> Hello,
>  Maxim Berlin on 21.02.2009 1:30 wrote:
> 

>> Hi all,
>>
>> что-то у меня странное с правилами происходит.
>> вот сессия:
>> 00:54:27.18 4 SMTPI-89408([202.62.230.72]) got
>>connection on
>> [194.247.134.138:25](rts.ru) from [202.62.230.72:1530]
>> 00:54:30.09 4 SMTPI-89408([202.62.230.72]) rsp: 220
>>cgp1.rts.ru ESMTP
>> CommuniGate Pro 5.0.14
>> 00:54:30.38 4 SMTPI-89408([202.62.230.72]) cmd: EHLO
>>JTGZPVHG
>> 00:54:30.38 4 SMTPI-89408([202.62.230.72]) rsp:
>>250-cgp1.rts.ru domain
>> name should be qualified
>> JTGZPVHG\r\n250-DSN\r\n250-SIZE\r\n250-STARTTLS\r\n250-AUTH
>>LOGIN PLAIN
>> CRAM-MD5 DIGEST-MD5 GSSAPI MSN
>> NTLM\r\n250-ETRN\r\n250-TURN\r\n250-ATRN\r\n250-NO-SOLICITING\r\n250-8BITMIME\r\n250-HELP\r\n250-PIPE
>>
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) cmd: MAIL
>>FROM:
>> <allentownjs73@canberra.ru>
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) checking
>>relay canberra.ru
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) rsp: 250
>> allentownjs73@canberra.ru sender accepted
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><gap@rts.ru>
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>gap@rts.ru will
>> leave the Internet
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><net@rts.ru>
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>net@rts.ru will
>> leave the Internet
>> 00:54:30.67 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><stcfw@rts.ru>
>> 00:54:30.67 1 SMTPI-89408([202.62.230.72]) Recipient
>>stcfw@rts.ru
>> rejected: unknown user account
>> 00:54:32.67 4 SMTPI-89408([202.62.230.72]) rsp: 550
>>stcfw@rts.ru unknown
>> user account
>> 00:54:32.67 4 SMTPI-89408([202.62.230.72]) cmd: DATA
>> 00:54:32.67 4 SMTPI-89408([202.62.230.72]) rsp: 354
>>Enter mail, end with
>> "." on a line by itself
>> 00:54:36.21 2 SMTPI-89408([202.62.230.72]) [186919022]
>>received, 6108 bytes
>> 00:54:36.21 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>186919022 message
>> accepted for delivery
>> 00:54:36.51 4 SMTPI-89408([202.62.230.72]) cmd: RSET
>> 00:54:36.51 4 SMTPI-89408([202.62.230.72]) rsp: 250 SMTP
>>state reset
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) cmd: MAIL
>>FROM:
>> <allentownjs73@canberra.ru>
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) checking
>>relay canberra.ru
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) rsp: 250
>> allentownjs73@canberra.ru sender accepted
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><gap@rts.ru>
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>gap@rts.ru will
>> leave the Internet
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><net@rts.ru>
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>net@rts.ru will
>> leave the Internet
>> 00:54:36.81 4 SMTPI-89408([202.62.230.72]) cmd: RCPT TO:
>><stcfw@rts.ru>
>> 00:54:36.81 1 SMTPI-89408([202.62.230.72]) Recipient
>>stcfw@rts.ru
>> rejected: unknown user account
>> 00:54:38.81 4 SMTPI-89408([202.62.230.72]) rsp: 550
>>stcfw@rts.ru unknown
>> user account
>> 00:54:38.81 4 SMTPI-89408([202.62.230.72]) cmd: DATA
>> 00:54:38.81 4 SMTPI-89408([202.62.230.72]) rsp: 354
>>Enter mail, end with
>> "." on a line by itself
>> 00:54:38.85 2 SMTPI-89408([202.62.230.72]) [186919025]
>>received, 6080 bytes
>> 00:54:38.85 4 SMTPI-89408([202.62.230.72]) rsp: 250
>>186919025 message
>> accepted for delivery
>> 00:54:39.10 3 SMTPI-89408([202.62.230.72]) read failed.
>>Error
>> Code=connection reset by peer
>> 00:54:39.10 4 SMTPI-89408([202.62.230.72]) closing
>>connection
>> 00:54:39.10 4 SMTPI-89408([202.62.230.72]) releasing
>>stream
>>
>> вот обработка второго письма:
>> 00:54:38.85 5 ENQUEUER-05([186919025]) envelope: P I
>>20-02-2009 21:54:36
>> 0000 ____ ____ <allentownjs73@canberra.ru>
>> 00:54:38.85 5 ENQUEUER-05([186919025]) envelope: A
>>rts.ru [194.247.134.138]
>> 00:54:38.85 5 ENQUEUER-05([186919025]) envelope: S SMTP
>>[202.62.230.72]
>> 00:54:38.85 5 ENQUEUER-05([186919025]) envelope: R W
>>20-02-2009 21:54:36
>> 0000 ____ _FY_ <gap@rts.ru>
>> 00:54:38.85 5 ENQUEUER-05([186919025]) envelope: R W
>>20-02-2009 21:54:36
>> 0000 ____ _FY_ <net@rts.ru>
>> 00:54:38.85 2 QUEUE([186919025]) from
>><allentownjs73@canberra.ru>, 6080
>> bytes (<auto-000186919025@cgp1.rts.ru>)
>> 00:54:38.85 4 ENQUEUER-05([186919025]) applying server
>>rules
>> 00:54:38.85 5 ENQUEUERRULES rule(kas) condition #3(To)
>>is false
>>
>> #3 строка правила kas выглядит так:
>> To is not *@plazanews.rts.ru
> >

>> не могу понять, почему:(
> 
> Потому что То: в заголовке и RCPT TO в конверте, как 
>говорят в Одессе, две большие разницы. Для конверта надо 
>использовать условие "Any Recipient".

простите, не понимаю. ни в конверте, ни в to: нету слова plazanews.
и исключить мне как раз надо письма, в которых оно есть и именно в to:
изначально было написано any to or cc, я его упростил пытаясь разобраться.   

> 

>> кто-нибудь может меня пнуть в нужном направлении?
>>

Best wishes,
  Maxim Получено Sat Feb 21 14:14:59 2009

Этот архив был сгенерирован hypermail 2.1.8 : Sat 21 Feb 2009 - 20:14:51 MSK