Alexander Yegorov wrote:
> I am trying to temp fail connection through milter connect callback by either:
> smfi_setreply(ctx, "421", NULL, "Deferred due to too many connections.");
You checked the fine documentation, right?
smfi_setreply may be called from any of the xxfi_ callbacks other
than xxfi_connect.
What is the return value that you use?
> However, sendmail logs are showing that hard bounce occurs : dsn=5.0.0 Service unavailable.
What is in the DSN?
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.