Harlan Stenn schrieb:
I got it working.
I got it, too! :-)
The antispam plugin cannot exec the dspam binary. Choices include
figuring out what user/group are needed (dspam is suid root, executable
by the root or the mail group only, and dovecot will exec it as
virtual/virtual), or
Harlan Stenn schrieb:
I'm trying to use the dovecot antispam plugin with dspam.
I'm running dovecot 1.1.2.
Using thunderbird and IMAP, when I drag a spam message from the inbox
into the SPAM folder, I get a popup saying The current command did not
succeed. The mail server responded:
So it seems that dovecot seemed not to be able to run dspam. I enabled a
shell (temporarly) for dovecot and run dspam from there, and it
succeeded. It just doesn't work from the plugin.
What could I check next? I really like the idea behind the plugin and
would like have it working.
I
I got it working.
Here are the problems I fixed, and it would have been *lots* easier if
the dovecot antispam plugin had better error/debug logging.
Johannes, I can work on a patch for the following if you prefer, and I'd
much rather spend my time getting ntp-4.2.6 out the door.
Getting this
Harlan Stenn wrote:
I'm trying to use the dovecot antispam plugin with dspam.
I'm running dovecot 1.1.2.
Using thunderbird and IMAP, when I drag a spam message from the inbox
into the SPAM folder, I get a popup saying The current command did not
succeed. The mail server responded: antispam
Harlan Stenn wrote:
Would it be better if the antispam plugin logged whatever stderr output
came from the dspam invocation?
I'd say yes. I don't seen any kind of error that should be shown to a
normal user.
I'm trying to use the dovecot antispam plugin with dspam.
I'm running dovecot 1.1.2.
Using thunderbird and IMAP, when I drag a spam message from the inbox
into the SPAM folder, I get a popup saying The current command did not
succeed. The mail server responded: antispam signature not found.