LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   problem with milter (https://www.linuxquestions.org/questions/programming-9/problem-with-milter-147167/)

dimm_coder 02-17-2004 09:46 AM

problem with milter
 
Hi, all!

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:

mlfi_connect()
mlfi_helo()
mlfi_envfrom()
mlfi_abort()

So, here we have got mlfi_abort() instead of mlfi_rcpt().

mlfi_cleanup()
mlfi_close()

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.


Best regards,

Dmitry

mannoj 12-30-2009 05:56 AM

Miter location
 
Hi,
I wrote the milter application (milter.c).
I compiled and ran it.

But how to configure it with sendmail?
Where should I kept it? plz, specify location.


Thank you.


All times are GMT -5. The time now is 12:09 AM.