On Wed, May 10, 2000 at 07:18:46PM -0400, Russell P. Sutherland wrote:
> I am running with B. Guenter's QMAILQUEUE patch with his qmail-qfilter
> package and have difficulty when using perl scripts in the filter
> train/pipeline. E.g. with the QMAILQUEUE file containing:
> exec /usr/bin/qmail-qfilter /usr/bin/perl -n -e '{print}'
> Whereas if I put the equivalent constructs:
> exec /usr/bin/qmail-qfilter /bin/awk '{print}'
> or
> exec /usr/bin/qmail-qfilter /bin/cat
> There is no problem.
> Any ideas why perl causes this error?
Nope. I use perl myself as a filter, so it's not just perl being wierd.
The SMTP error code ("temporary problem (#4.3.0)") indicates that qmail
queue (qmail-qfilter in this case) returned an unrecognized error code
number. qmail-qfilter returns whatever the last item in the pipe
returns, which should be 0 if your perl is working.
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/