Hi,
I am getting the following errors:
deferral: Unable_to_forward_message:_unable_to_exec_qq_(#4.3.0)./
and
warning: trouble injecting bounce message, will try later
This might have something to do with permissions, so I am trying to
understand what's happening here. Any help would be appreciated.
I run somewhat unusual installation.
qmail-ldap is located in /var/qwido/qmail, like this:
/var/qwido/qmail:
drwxr-xr-x 12 root qmail 4096 Jul 5 23:58 .
drwxr-xr-x 4 root root 4096 Mar 21 2004 ..
drwxr-sr-x 2 alias qmail 4096 Feb 15 2004 alias
drwxr-xr-x 2 root qmail 4096 Jul 27 20:10 bin
drwxr-xr-x 11 root qmail 4096 Jul 4 04:55 boot
drwxrwxr-x 2 root acts 4096 Jul 27 20:11 control
drwxr-xr-x 2 root qmail 4096 Apr 16 2004 doc
drwxr-xr-x 11 qmaill qmail 4096 Jul 4 05:02 log
drwxr-xr-x 10 root qmail 4096 Feb 15 2004 man
drwxr-sr-t 5 root root 4096 Jul 5 23:58 qscanq
drwxr-x--- 12 qmailq qmail 4096 Jul 11 09:07 queue
drwxr-xr-x 2 root qmail 4096 Feb 15 2004 users
I run qscanq with clamav to get rid of virusses. Also, i run spamassassin,
like so:
in qmail-smtpd.rules:
:allow,NOPBS="",RCPTCHECK="on",RETURNMXCHECK="on",SANITYCHECK="on",LOGLEVEL="16",QMAILQUEUE="/var/qwido/qmail/bin/qmail-virus-spam-check"
This means that I am *not* using install-wrap from the qscanq package. I
am using the qmail-queue patch.
The script is like this:
#!/bin/bash
exec /package/mail/qscanq/command/qscanq /var/qwido/qmail/bin/qmail-spamc
As far a I understand, the qmail-queue patch calls this script in stead of
regular qmail-queue. So, the script calles qscanq, which rejects the
connection if there is a virus found (that works, I tested it).
If no virus is found, the mail is handed
to /var/qwido/qmail/bin/qmail-spamc, a wrapper that i found on the inter7
pages. It's purpose it so call spamassassin and then hand the message to
qmail-queue (the regular one).
So, I think it works like this:
qmail-smtpd->qscanq->qmail-spamc->spamc/spamd->qmail-queue.
In fact, all mail is being received fine! It's checked on virusses and it
gets a spamscore. No problem, *except* for
a. bounces
b. forwards
The bounces all stay in /var/qwido/qmail/queue/bounces and every so many
seconds there is an error in the logs because of the retries.
The forwards have another problem: since delivery is to one external
address AND the local mailbox, every time the message is retried, the
local mailbox gets a copy.
So:
msg->local(delivered)+remote(deferred)
retry:msg->local(delivered)+remote(deferred)
and so on.
Now, on my other host where qmail is NOT in a special directory, bounces
work fine (I haven't tested forwards).
Now, has anyone an idea what could be wrong ? How can I test the 'chain'
of events ? How can I see under what user each program runs ? Maybe I
need recompiling (either qscanq or qmail-ldap or qmail-spamc). Why does
it only give trouble with bounces and forwards ? (My guess being that the
're-injecting' of a message happens for some reason under the wrong
user ??)
Cheers,
ace
--
"To be nobody but yourself in a world which is doing its best,
night and day, to make you like everybody else, means to fight
the hardest battle any human being can fight
and never stop fighting."
- E. E. Cummings
Ace Suares' Internet Consultancy
mail: PObox 2599, 4800 CN Breda, The Netherlands
phone: +31 6 244 33 608 (Jan Veuger, support Netherlands)
emergency: +599 786 23 73
voicemail & fax: +31 848 707 705
web: http://www.suares.nl email: [EMAIL PROTECTED]
pgp1LisdBi2rW.pgp
Description: PGP signature
