mhonarc-dev

[bug #4687] broken pipe when message in archive

2003-08-08 14:31:51
=================== BUG #4687: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4687&group_id=1968

Submitted by: dgs1                    Project: MHonArc                      
Submitted on: Fri 08/08/2003 at 21:29
Category:  Mail Parsing               Severity:  5 - Major                  
Bug Group:  Incorrect Behavior        Resolution:  None                     
Assigned to:  None                    Status:  Open                         
Platform Version:  Unix               Perl Version:  5.0 patchlevel 5 
subversion 3
Component Version:  v2.6.7            Fixed Release:                        

Summary:  broken pipe when message in archive

Original Submission:  If a MIME message is already in the archive, and a 
duplicate is cat'ed via
 cat [message] | mhonarc -add -rcfile [file]
then 
bash-2.03$ cat [message] | mhonarc -add -rcfile mhonarc.rc 
This is MHonArc v2.6.7, Perl 5.00503 solaris
Reading database ...
Reading resource file: /home/gray/work/rebuild030424/eureka-leaders//mhonarc.rc 
...
Adding message to /home/gray/work/rebuild030424/eureka-leaders/

No new messages
Broken Pipe
bash-2.03$

If procmail is used, then it reports and error.

I can avoid the error by updating mhamain.pl, and adding 
         while(<STDIN>){};
between the lines
        print STDOUT "No new messagesn"  unless $QUIET;
        return 1;



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4687&group_id=1968

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>