On Wed, May 28, 2008 at 10:05:27PM +0200, manu@... wrote: > Matt Kettler <mkettler@...> wrote: > > > AFAIK, sendmail calls milters for error codes at the end of each command, but > > not in the middle of any of them. > > I suspect you could reject it early by returning SMFIS_TEMPFAIL at the > end of mlfi_eoh(). milter-greylist would not get the message body, but I > suspect sendmail would, as there is no way to interrupt the client at > this stage of the SMTP protocol. Indeed, as far I understand the sendmail source code the milter data call back (also EOH) is called *after* the call to the collect routine which stores everything received in the DATA phase into the queue or some temporary "storage". The milter interaction in the DATA phase is not synchronous a line-by-line manner. Johann E. K.
Message
Re: [milter-greylist] Hashcach support?
2008-05-29 by Johann Klasek
Attachments
- No local attachments were found for this message.