Hi,
On Fri, Feb 6, 2009 at 1:31 AM, Steve <[email protected]> wrote:
> This is more a dovecot issue then a DSPAM issue. Why it is not working in
> your setup I can not tell since I don't know what version of dovecot you are
> using and I have not overview of your dovecot configuration. Are you using
> namespaces in dovecot? Are you delivering to local or virtual users? Do you
> use lookups to query the home of the users? etc, etc, etc... all this is not
> known without you giving more information about your dovecot installation.
> However... you can post the stuff here but the better place would be the
> dovecot mailing list (I have seen you posting there. So you know where to
> ask).
After discussion this on the dovecot mailing list as suggested, I was
adviced to wrap the deliver command through a script.
Here is the used script:
=======START
#!/bin/bash
( date
id
echo "$@"
echo "-------"
"$@"
echo "-------"
rc=$?
echo rc=$rc
exit $rc
) >/tmp/dspam-quar-wrap.$$.tmp 2>&1
======END
And the output:
======START
Fri Feb 6 14:00:02 CET 2009
uid=1004(vmail) gid=1004(vmail) groups=1004(vmail)
/usr/libexec/dovecot/deliver -d [email protected]
-------
Warning: Growing pool 'Plugin strings' with: 1024
-------
rc=0
======END
So the issue comes from dspam which does not run the right DeliveryAgent,
even though it tags the email as a spam (the email which generated this
wrapper log had been tagged as spam by dspam).
I will try and see the Sieve plugin now as it seems to work at delivery time
as far as I see, so it may be a good way to work this issue around, but
currently there seem to be an issue here. Is anyone on this list using this
feature of QuarantineAgent with success (version 3.8.0-r15 for my own)? If
so, do you have an idea of a configuration error from me (see my complete
dspam.conf file on a previous email)? If not, probably there is a bug, and
even though it can be worked around with Sieve, this is worth fixing (so in
this case, I will make a bug report).
To answer your previous email, the only reason I did not use Sieve, maildrop
or whatever before was because I did find simpler to not add a new program
or component to this already complicated installation. And I did not need
over complicated script of delivery (just sending spam to Junk/ folder was
already enough for me).
Thanks.
Jehan
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user