Hey All,
I've installed the qmail-qfilter and cannot get it to work. After I add the
"QMAILQUEUE" lines to my tcp.smtp and rebuild it, I send an email and get an
email back immediately saying, "No transport provider was available for
delivery to this recipient" message. There is nothing in the logs on the
mail server.
The TMPDIR I set in the Makefile is /var/qmail/bin/tmp. I've tried
changing the ownership of the files below, and the TMPDIR to qmailq, but
that didn't work either.
\var\qmail\bin
-rwxr-xr-x 1 qmaild qmail 1753 Feb 20 15:34 deny-filetypes
-rwxr-xr-x 1 qmaild qmail 74 Feb 20 16:56 qmail-qftest
drwxrwxr-x 2 qmaild qmail 4096 Feb 21 09:56 tmp
-rwxrwxr-x 1 qmaild qmail 37931 Feb 21 09:58 qmail-qfilter
----tcp.smtp--------
172.16.3.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-qftest"
127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-qftest"
--------------------
----qmail-qftest----
#!/bin/sh
exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/deny-filetypes
--------------------
The deny-filetypes file is straight from ~/samples in the qmail-qfilter
package
----Processes------
root 9021 1 0 08:57 pts/1 00:00:00
/usr/local/bin/tcpserver -v -H -R 0 110 /var/qmail/bin/qmail-popu
root 9022 1 0 08:57 pts/1 00:00:00 /var/qmail/bin/splogger
pop3d
root 9024 1 0 08:57 pts/1 00:00:00 svscan
root 9025 9024 0 08:57 pts/1 00:00:00 supervise qmail-send
root 9026 9024 0 08:57 pts/1 00:00:00 supervise log
root 9027 9024 0 08:57 pts/1 00:00:00 supervise qmail-smtpd
root 9028 9024 0 08:57 pts/1 00:00:00 supervise log
qmails 9029 9025 0 08:57 pts/1 00:00:00 qmail-send
qmaill 9030 9026 0 08:57 pts/1 00:00:00 /usr/local/bin/multilog t
/var/log/qmail
qmaill 9031 9028 0 08:57 pts/1 00:00:00 /usr/local/bin/multilog t
/var/log/qmail/smtpd
qmaild 9032 9027 0 08:57 pts/1 00:00:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 20 -u 507
root 9037 9029 0 08:57 pts/1 00:00:00 qmail-lspawn ./Maildir/
qmailr 9038 9029 0 08:57 pts/1 00:00:00 qmail-rspawn
qmailq 9039 9029 0 08:57 pts/1 00:00:00 qmail-clean
Any suggestions?
-Andy
ALSO:
In the qmail-qfilter readme it says...
"Check the definitions at the top of qmail-qfilter.c, especially the value
of TMPDIR. This should be set to a temporary directory that only the
executor of qmail-qfilter has write access to."
I can't find any TMPDIR reference in the qmail-qfilter.c file though, only
in the Makefile.