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}'
The remote smtpd session sees:
$ telnet 192.168.1.11 25
Trying 192.168.1.11...
Connected to 192.168.1.11.
Escape character is '^]'.
220 raqee.clikx.com ESMTP
helo dude
250 raqee.clikx.com
mail <[EMAIL PROTECTED]>
250 ok
rcpt <[EMAIL PROTECTED]>
250 ok
data
354 go ahead
To: [EMAIL PROTECTED]
Subject: testing 3
This a test
.
451 qq temporary problem (#4.3.0)
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?
--
Quist Consulting Email: [EMAIL PROTECTED]
219 Donlea Drive Voice: +1.416.696.7600
Toronto ON M4G 2N1 Fax: +1.416.978.6620
CANADA WWW: http://www.quist.on.ca