Tux's lil' helper
Joined: 26 Aug 2002
|Posted: Mon Dec 09, 2013 8:35 pm Post subject: DSPAM via Maildrop: Permission denied?
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):
|if ( $SIZE < 262144 )
xfilter "/usr/bin/dspam --user me --stdout --deliver=innocent,spam"
After adding this, I get this error in my log:
|Dec 9 21:24:56 myhost postfix/local: B0010D805016B: to=<email@example.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!