[Avcheck] Re: avpcheck breeds messages

Vadim Shamray vader@opsb.ru
Sun, 19 Aug 2001 13:55:29 +0700


On Tue, Aug 14, 2001 at 03:51:47PM +0400, Michael Tokarev wrote:
> Ralf Hildebrandt wrote:

Thank you, problem solved.

> > > Aug 10 02:56:03 somehost postfix/pipe[1240]: DEB8ED90B3: to=<someuser@opsb.ru>, relay=filter, delay=209509, status=deferred (temporary failure. Command output: avpcheck: unable to write mail stream: Broken pipe )
> Please look to this queue file:
>  postcat /var/spool/postfix/deferred/*/DEB8ED90B3 | more
> -- it should contain a line with a single dot (.)
> > > mail remains in queue, postfix+avpcheck continues to generate such a message.
> > > after some time someuser gets about 50 copies of message in his box.
> No, only partial copies, all lines before that "one-dot-line".
Yes, all was as you described. 

> > I think you should try a recent version of both avpcheck and
> > AVPdaemon.Cc: to the list.
I'll try avcheck in next week.

> This is a historical bug I discovered yesterday, but forgot to add it to
> ChangeLog.  av(p)check should use `-i' argument when calling real
> sendmail.  Only avcheck-0.2 contains this fix.  I'm afraid you need
> to drop avpcheck for now and use avcheck, or just switch to use smtp
> (-Shost:port) -- last one is faster anyway.
I've just added a line ^av[++ac] = "-i";$ and increased buffer in alloca.
Traffic is far from overwhelming, so I will not gain any significant
improvement.

-- 

		    best regards, -- Vadim Shamray