> -----Original Message----- > From: Matthias Fuhrmann > [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 09, 2006 6:50 PM > To: Kevin W. Gagel > Cc: users@spamassassin.apache.org > Subject: RE: REPOST:Need some help with - EX_IOERR 74 > input/output error > > 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. >
Also, man spamc lists all the possible return codes. EX_USAGE 64 command line usage error EX_DATAERR 65 data format error EX_NOINPUT 66 cannot open input EX_NOUSER 67 addressee unknown EX_NOHOST 68 host name unknown EX_UNAVAILABLE 69 service unavailable EX_SOFTWARE 70 internal software error EX_OSERR 71 system error (e.g., can't fork) EX_OSFILE 72 critical OS file missing EX_CANTCREAT 73 can't create (user) output file EX_IOERR 74 input/output error EX_TEMPFAIL 75 temp failure; user is invited to retry EX_PROTOCOL 76 remote error in protocol EX_NOPERM 77 permission denied EX_CONFIG 78 configuration error Dallas