Permission denied

David Relson relson at osagesoftware.com
Fri Sep 2 22:58:38 CEST 2005


On Fri, 2 Sep 2005 16:13:24 -0300
Marcelo Leão Caffaro wrote:

> Hi, i have the following error when i try to use bogofilter, the script postfix-filter.sh have 777 permission...
> 
> Anyone can help-me?
> 
> Sep  2 15:50:35 waikiki postfix/master[11088]: daemon started -- version 2.1.4
> Sep  2 15:50:35 waikiki postfix:  succeeded
> Sep  2 15:51:17 waikiki postfix/smtpd[11097]: connect from unknown[x.x.x.x]
> Sep  2 15:51:28 waikiki postfix/smtpd[11097]: 732BB246E46: client=unknown[x.x.x.x]
> Sep  2 15:51:28 waikiki postfix/cleanup[11100]: 732BB246E46: message-id=<037101c5afef$4e143980$0800a8c0 at employer.local>
> Sep  2 15:51:28 waikiki postfix/smtpd[11097]: disconnect from unknown[200.193.137.2]
> Sep  2 15:51:28 waikiki postfix/qmgr[11090]: 732BB246E46: from=<my at email.com>, size=1887, nrcpt=1 (queue active)
> Sep  2 15:51:28 waikiki postfix/pipe[11101]: 732BB246E46: to=<to at email2.com>, relay=filter, delay=1, status=deferred (temporary failure. Command output: /home/bogofilter/postfix-filter.sh: line 19: msg.11102: Permission denied )

What's in file postfix-filter.sh, specifically at line 19 ???  What
userid is in use?  To help debug such problems, I'll often add lines
like the following to a script:

  DEBUG="y"
  if [ "$DEBUG" == "y" ] ; then
     DATE=`date +%H%M%S`
     FILE="/tmp/script.$DATE.out"
     set > $FILE
  fi 

Likely, adding 'ls -l msg.* >> $FILE' would also be helpful

HTH,

David



More information about the Bogofilter mailing list