problem with milter
I have developed a filter using Milter API.
Seems that it works good under Linux, but its work on some FreeBSD
machines causes a problem.
The problem is a presence of these error strings in sendmail's log file and thus
problems with mail delivery from time to time:
...: Milter (vbasmf): write(L) returned -1, expected 5: Broken pipe
...: Milter (vbasmf): to error state
...: Milter: data, reject=451 4.7.1 Please try again later
The following variants are possible: write(L), write(Q), write(D).
The sequence of invoked filter's routines for that undelivered message is:
So, here we have got mlfi_abort() instead of mlfi_rcpt().
After some time, sendmail have another attempt to deliver that message and
it is succeesful.
So, I wonder, may be someone had such kind of a problem or knows the reason
of that problem.
I shall be very grateful for any stated ideas.
Thanks in advance.