All has dared addition ";" in an option --user i.e. --user;vmail Regards
On 14:27 Tue 11 May , Philipp Haselwarter wrote:
why are dspam error code such a mystery anyways? does anyone know if a somewhat comprehensive listing exists somewhere?
----- Urspr??ngliche Mitteilung -----
On 11/05/10 12:57, Danila wrote:
With it I have already understood having added the user vmail in mail group, but all the same mutt produces an error "Failed to call dspam" and does not wish to move the letter to a directory a spam. In log now here so:
The --user option of dspam sets the user that dspam classifies mail for, and has nothing to do with your system accounts.
Does the user 'vmail' exist in your dspam setup, or are you classifying mail per user (i.e. final recipient)? In the latter case, you probably want to pass the mail recipient to --user, and not 'vmail':
dspam --source=error --class=spam --signature=4be87a9f953248352114216 --client --user atckoe.zlo@gmail.com
For more details on why your dspam call fails, enable dspam debugging, so you can see what is wrong with it.
Tom
May 11 14:51:50 evil imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0 May 11 14:51:50 evil imap: antispam: /usr/local/bin/dspam --source=error --class=spam --signature=4be87a9f953248352114216 --deliver= --user vmail May 11 14:51:50 evil imap: antispam: plugin initialising (1.2-notgit)
On 12:31 Tue 11 May , Philipp wrote:
Try to add a --debug to dspam, and if that doesn't produce any additional output try to start dspam not with init.d (I assume you do?) but run it manually on the command line as 'sudo dspam --debug --daemon', that should give you a better idea of what's going on. To change the gid just add -g \#1010 to sudo. Maybe also try to add --stdout or leave away the --client in your call to dspam, might make it easier to pin down the error. I'm also experiencing quite a bit of trouble with dspam, memory leaks and stuff but I haven't been able to get in contact with their mailing list (the address I found was deemed non-existent..)
Danila a ?crit :
Nothing happens #> su vmail -c "/usr/local/bin/dspam --source=error --class=spam --signature=4be87a9f953248352114216 --client --user vmail" #>
On 10:05 Tue 11 May , Steffen Kaiser wrote: On Tue, 11 May 2010, Danila wrote:
> > On 01:18 Tue 11 May , Trever L. Adams wrote: > > > On 05/11/2010 12:02 AM, Danila wrote: > > > > May 11 10:54:09 evil imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0 > > > > May 11 10:54:09 evil imap: antispam: /usr/local/bin/dspam --source=error --class=spam --signature=4be87a9f953248352114216 --client --user vmail > > > > May 11 10:54:09 evil imap: antispam: executing /usr/local/bin/dspam failed: 13 (uid=1009, gid=1010) > > > > > > > > uid=1009, gid=1010 is vmail user What happens, if you run the command from the shell as user vmail? E.g.:
sudo -u \#1009 /usr/local/bin/dspam --source=error --class=spam
--signature=4be87a9f953248352114216 --client --user vmailHmm, I don't know if you can also assign the gid...
Regards,