On Thu, 9 Feb 2006, Kevin W. Gagel wrote: > ----- Original Message ----- > >> Has anyone got any idea's on this? No one responded to my > >> first post on it. > >> --- > >> I'm using a script to pipe messages to spamc. Out of > >> about 90,000 messages passed to spamc via the script > >> about 7,000 failed with an error code of 74. > >> > >> What does spamc mean by EX_IOERR? > >> > >> Is this a failure between my script and spamc or > >> something else? > > > >Ok, ok... I'll come to the rescue! :) > > > >I've fought this before. I believe the problem was > >improper commenting of user parameter passed via my perl > >script. Can you show me your code that calls spamc plz? > > OK, I've uploaded it to my filestore, you can access it at: > http://mail.cnc.bc.ca/users/[EMAIL PROTECTED]/EX_IOERR/mailfilter.txt > > I'm not sure it'll be a parameter as only about 7,000 > messages failed out of 90,000. Unless its some kind of time > out... But thats the thing, I don't know what the error 70 > means.
look for a file called sysexits.h. there you can get the meaning of error codes. taken from a feroda sysexits.h: EX_IOERR -- An error occurred while doing I/O on some file. define EX_IOERR 74 /* input/output error */ well, thats not much of information. but place a 'set -x' at the top of your bash script, this might help discovering the problem. regards, Matthias