onkelfusspilz Tux's lil' helper
Joined: 26 Aug 2002 Posts: 130 Location: Germany
|
Posted: Mon Dec 09, 2013 8:35 pm Post subject: DSPAM via Maildrop: Permission denied? |
|
|
Hi @all,
I have a simple postfix install (posix users, no virtual hosting) and use maildrop as my delivery agent.
I want to add dspam for filtering my mails and move spam into a special folder.
Here is my setup from my .mailfilter-cofig (maildrop):
Code: | if ( $SIZE < 262144 )
{
xfilter "/usr/bin/dspam --user me --stdout --deliver=innocent,spam"
} |
After adding this, I get this error in my log:
Code: | Dec 9 21:24:56 myhost postfix/local[31722]: B0010D805016B: to=<me@domain.com>, relay=local, delay=536, delays=535/0/0/0.12, dsn=4.3.0, status=deferred (temporary failure. Command output: bash: /usr/bin/dspam: Permission denied bash: /usr/bin/dspam: Permission denied /usr/bin/maildrop: Unable to filter message. ) |
I can call dspam from the cmdline just fine and maildrop runs at root while delivering mails, doesn't it?
I wonder which permissions I have to change or how to fix this.
Thank you for your help! |
|