On Tue, Feb 21, 2023 at 09:30:41AM +0000, Jeremy Harris via Exim-users wrote:
> On 21/02/2023 03:14, Matt Bryant via Exim-users wrote:
> > Is there anyway in exim to force a disconnect but with a temporary
> > 4xx failure rather than a hard deny and 5xx error ???. I can see
> > 'drop' does the latter case but there seem no equivalent action/verb
> > or command to issue a tempfail and then disconnect.
>
> No; that's a further departure from standards than Exim is coded to
> do. You could raise an RFE if you have a convincing case for it.
FWIW, Postfix does drop connectiosn when the user-specified reject code
is 421 or 521. Yes, server-initiated connection termination was not
part of the original design of SMTP ~50 years back when the Internet
was a kinder/gentler place.
--
Viktor.