On Sun, 10 Feb 2002, Mark wrote: > Dear people, > > Being rather interested in running the spamd daemon, I tried to run a > test message in a small test Perl script, having the daemon running, > of course, on my FreeBSD 4.1 server; it looks as follows: > > $result = int ((system ("/usr/bin/spamc -c -f < /tmp/testmail > >/dev/null") / 256)); > > Funny thing is, I keep getting error code 74. I thought it would only > exit with either 1 or 0? Any help would be appreciated.
Most MTAs will use the return codes from /usr/include/sysexit.h to determine what went wrong when they talk to a child process of some sort. spamc seems to use this convention to, with: #define EX_IOERR 74 /* input/output error */ So, I guess that spamc can't get at either an input or output channel of some sort... Daniel -- Know thyself? A maxim as pernicious as it is ugly. Whoever observes himself arrests his own development. A caterpillar who wanted to know itself well would never become a butterfly. -- Andre Gide _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk