Operation not permitted

Chris Wilkes cwilkes-bf at ladro.com
Wed Oct 18 00:38:39 CEST 2006


A quick googles for "operation not permitted" makes it look like an
"AppArmor" problem.

I would try disabling that protection mechanism and see if it works.  If
it does then we know where the problems lies.

Chris

On Tue, Oct 17, 2006 at 05:32:11PM -0500, John Fox wrote:
> Anybody out there?????
> 
> -------- Original Message --------
> Message-ID: 	<45344126.2010901 at foxfin.net>
> Date: 	Mon, 16 Oct 2006 21:34:14 -0500
> From: 	John Fox <john at foxfin.net>
> User-Agent: 	Thunderbird 1.5.0.7 (Windows/20060909)
> MIME-Version: 	1.0
> To: 	bogofilter at bogofilter.org
> Subject: 	Operation not permitted
> Content-Type: 	text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 	7bit
> 
> 
> 
> I have deployed bogofilter/postfix numerous times with great success. I 
> now have the below error messages and have exhausted my knowledge. If 
> anybody can help, I would greatly appreciate it. Thanks!
> 
> SuSE 10.1
> Bogofilter 1.1.1
> Postfix 2.2.9
> -----------
> 
> main.cf::
> smtp      inet  n       -       n       -       -       smtpd
>       -o content_filter=bogofilter:
> .
> .
> .
> 
> bogofilter  unix   -    n       n       -       -       pipe     
> flags=R   user=filter   argv=/   usr/local/bin/bfilter.sh  -f ${sender} 
> -- ${recipient}
> -------------
> 
> bfilter.sh:
> #!/bin/sh
> 
> SENDMAIL="/usr/sbin/sendmail -i"
> BOGOFILTER=/usr/local/bin/bogofilter
> 
> # Exit codes from <sysexits.h>
> EX_TEMPFAIL=75
> EX_UNAVAILABLE=69
> 
> cat | $BOGOFILTER -p -d /usr/local/src/bogofilter -c /etc/bogofilter.cf 
> | $SENDMAIL "$@" ||
>  { echo Message content rejected; exit $EX_UNAVAILABLE; }
> 
> exit 0
> ------------
> 
> /var/log/mail:
> Oct 16 18:39:14 spam postfix/qmgr[30473]: warning: connect to transport 
> bogofilter: Operation not permitted
> Oct 16 18:39:14 spam postfix/qmgr[30473]: 5CC011C01B: 
> from=<john at foxfin.net>, size=1255, nrcpt=1 (queue active)
> Oct 16 18:39:14 spam postfix/qmgr[30473]: warning: connect to transport 
> bogofilter: Operation not permitted
> Oct 16 18:39:14 spam postfix/qmgr[30473]: 7EA2C1AB6E: 
> from=<john at foxfin.net>, size=1250, nrcpt=1 (queue active)
> Oct 16 18:39:15 spam postfix/qmgr[30473]: 7EA2C1AB6E: 
> to=<admin at swslaw.com>, relay=none, delay=2761, status=deferred (delivery 
> temporarily suspended: transport is unavailable)
> Oct 16 18:39:15 spam postfix/qmgr[30473]: warning: 7EA2C1AB6E: flush 
> service failure
> 
> 
> 
> 
> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list