Re: Protocol Event sink

From: Peter Karsai (welcome.home_at_[127.0.0.1)
Date: 09/21/04


Date: Tue, 21 Sep 2004 12:47:32 +0200

Hi Razzie,

"Razzie" <razzie@quicknet.nl> wrote in message
news:ONBS7G7nEHA.2804@TK2MSFTNGP09.phx.gbl...
> Peter, thank you very much for the reply.
>
> It's too bad you can't get the server to ignore a command. A client is
> waiting for a response, but a response could easily be an error code.

That is correct, you can set the SMTP response code to a 4xx or 5xx category
response. In this case, the SMTP Service will know that it has to ignore the
recipient specification command (i.e. the recipient will not be added to the
recipient list). Is this what you were looking for?

> I guess I'll have to look at something else. What is _EOD? I have no clue
:)

_EOD is a protocol event similar to RCPT, it is triggered on End-Of-Data
~end of DATA or end of BDAT (last BDAT only), when the email data has been
sent by the sender and it is waiting for acknowledgement.

> Do you know what event sink would best fit my needs? I can't use the
> OnArrival sink I think, because the recipient should be discarded BEFORE
the
> mail is sent.

I think we should clarify first what and when exactly you want to do. What
you mean by "before the mail is sent" exactly (is EOD OK)? What you mean
exactly by ignoring a recipient? Really "ignoring" it, without returning an
error on the RCPT command or rejection is OK?

> I was thinking of PostCategorize, I hope you can shine a light
> on this!

I could never get that event work :(

  Peter



Relevant Pages

  • Re: Protocol Event sink
    ... > Peter, thank you very much for the reply. ... > It's too bad you can't get the server to ignore a command. ... > waiting for a response, but a response could easily be an error code. ... recipient specification command (i.e. the recipient will not be added to the ...
    (microsoft.public.exchange2000.development)
  • Please help - Exchange Sink ignore command
    ... multiple newsgroups and forum but nobody seems to know? ... I changed the tutorial so I listen for the RCPT command. ... can read the recipient from the command. ... not, of course, want the server to completely drop the session and my other ...
    (microsoft.public.exchange2000.admin)
  • weird pop3 email delivery problem, pls help!
    ... In Recipient Policies -> Default Policy -> Email Address, ... Both John and Peter have email accounts with the domain: ... Peter does not. ...
    (microsoft.public.windows.server.sbs)
  • RE: Recipient recieves fax cover page only
    ... Thanks Charles for your input. ... > Hi Peter, ... > According to your description, we help you check the modem, I am afraid we ... > to some special recipient, you may need to check with recipient to see if ...
    (microsoft.public.windows.server.sbs)
  • Re: Secure Form Script?
    ... > Also, what if you call sendmail directly, but quote it wrong? ... Directly executing anything is a big risk no matter how you ... the only thing going to the command line is the ... recipient -- and I'm presuming that that is fixed. ...
    (Focus-Linux)