Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DSPAM via Maildrop: Permission denied?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
onkelfusspilz
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2002
Posts: 130
Location: Germany

PostPosted: Mon Dec 09, 2013 8:35 pm    Post subject: DSPAM via Maildrop: Permission denied? Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum