Just a quick question - we have a milter that wants / needs to get
Sendmail to drop the current connection - sure, we can return a
failure code - but in our case, the client just remains connected and
generates error, after error, after error...
We'd really like to drop the connection on them - but there doesn't
seem to be anything in the Milter API for doing that?
-Jon
> We'd really like to drop the connection on them - but there doesn't
> seem to be anything in the Milter API for doing that?
RTFD libmilter/docs/smfi_setreply.html
smfi_setreply
* If the milter returns SMFI_TEMPFAIL and sets the reply code
to '421', then the SMTP server will terminate the SMTP
session with a 421 error code.
Thanks! - I'd never even noticed that tucked away in the
documentation!
Just writing some code to test it now!
-JonB