[Dovecot] Dovecot antispam unable to call dspam since dovecot upgrade to 2.X
Guillaume Hilt
ghilt at shadowprojects.org
Fri Nov 15 09:57:15 EET 2013
Le 15/11/2013 08:23, Steffen Kaiser a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 14 Nov 2013, Benny Pedersen wrote:
>
>> Guillaume Hilt skrev den 2013-11-14 12:12:
>>
>>> When i'm moving a mail to or from the Spam folder, Igot this error
>>> in my logs :
>>> Nov 14 10:33:25 srv1 dovecot: imap(ghilt at shadowprojects.org): Debug:
>>> dspam error:7751 prefix=imap(ghilt at shadowprojects.org):
>>
>> googled "One More Thing" :)
>>
>> http://www.gentoo-wiki.info/HOWTO_Spam_Filtering_with_DSPAM_and_Postfix
>>
>> see the section i googled, its know problem not yet resolved :/
>
> Is this problem the same then that one?
> http://www.reddit.com/r/linuxadmin/comments/1ljdq2/dovecot_virtual_users_and_dspam/
>
>
> - From the problem description:
> " I traced problem to the fact that dovecot seems to run dspam with
> uid/gid of virtual user. And dspam seem to be upset by it. "
>
> So you need the make dspam run as vmail. Do you get the error if you
> execute
>
> sudo -u vmail /usr/bin/dspam ....
>
> ?
Indeed.
sudo: unable to execute /usr/bin/dspam: Permission denied
>
> Then this advice from Benny's link might help:
> "One More Thing
>
> There are a few loose ends to tie up. Without all this it wouldn't
> need masking after all.
>
> mkdir /var/spool/dspam/log/
> chown -R dspam:dspam /var/spool/dspam/
This was already good.
> chmod 4511 /usr/bin/dspam
And this one fixed my issue, thanks :)
I'm going to fill a bug for Gentoo.
>
> Note:- you will have to do this command again if you re-emarge or
> update dspam"
>
> - -or-
>
> Maybe just the advice about trusting users from the reddit link:
>
> "Did you add the user to the trust list?
>
> Trust dovecot Trust vmail
>
> etc, etc. "
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBUoXL4l3r2wJMiz2NAQIjxwgAkcGR2jeu2Vmkn/8zjKy6vmQC0QifwXFv
> AroTc8rNka8H/H8Ba2EXnkX6tEgtgmm4Zk856O6CUsy5QVxb3t7/JwAjcY3fv65y
> JcRJXeLQPinki2xYP6wBS0bfZHXw7iaU1cd0ogcxbnO7GHk3Va5eRdZwgmQ38TXQ
> oZ/1nskuDZVCaxRPN6f6m6Cofdpt5vhhte9mrd+Y0tbJpmOAhzzSPfgtbfFfdpbd
> e4OLM5zpZb5aY5PTV3ZhMt9UkmuiVG2uWSK8uf9jiWJ7e0FvWcgEmTBRFqymptcY
> U0DvcNCu00p2/raH3k4zsEck7s4bJcdF4kdIViyyqsB11w6q1yNPOQ==
> =MfrR
> -----END PGP SIGNATURE-----
>
More information about the dovecot
mailing list