Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-17-2004, 09:46 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Minsk, Belarus
Distribution: Mandrake, FreeBSD
Posts: 28

Rep: Reputation: 15
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:


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.

Best regards,

Old 12-30-2009, 05:56 AM   #2
LQ Newbie
Registered: Sep 2009
Location: India
Posts: 20

Rep: Reputation: 1
Miter location

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail+milter roopunix Linux - Networking 1 07-29-2005 01:08 PM
Amavisd-new: Interface to Sendmail milter + ClamAV cyberjames Slackware 0 02-07-2005 01:41 AM
Controlling mail using Sendmail Milter ronferns Linux - Software 0 11-29-2004 01:12 AM
problem with milter dimm_coder *BSD 0 02-17-2004 09:44 AM
procmail before milter filters in sendmail mussons Linux - Software 0 12-15-2003 08:25 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration