Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Hashcach support?

2008-05-29 by Johann Klasek

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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.