[Dovecot] antispam plugin problem

Danila atckoe.zlo at gmail.com
Tue May 11 11:19:26 EEST 2010


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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 vmail
> 
> Hmm, I don't know if you can also assign the gid...
> 
> Regards,
> 
> - -- 
> Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> 
> iQEVAwUBS+kP5b+Vh58GPL/cAQI+fQf9FJL1VxRzpXIHPelQqEwxspn1NH2tAOYt
> d4ngh5m5Uzui+/R8vWsF0zq9kl3TCeeAZQlxrnAn0+emkpB8Yf+CN4W4zAes/TKh
> 3cYD45QaRdGpEQKteJqhhU8nGrTaBXZwkp/0dzIwdZQFxZQkuNRcuX0ynXRyUHaR
> AVPW6Vw7n10tNmRndeEbfkK4dpCxa+ka0X/Y7Y57gpYgr99k9EIqgDAU6GboviZh
> awBslrdhYnJFXj5GY9+G65Z9HgYJMHHQl9CQsQdggDGf2t9+GozwhbO0S+glTzi+
> A0AUHCtqdr78ZCqMWR5Im4rngoWdh6ypa+C/UBdFLeJSxGOds7lptQ==
> =sSJP
> -----END PGP SIGNATURE-----
> 


More information about the dovecot mailing list