Wietse Venema:
> Len Conrad:
> > master.cf
> > 
> > snfilter  unix  -       n       n       -       10      pipe       
> >      flags=q user=snfilter argv=/var/spool/snfilter/sniffer
> >      -f ${sender} ${recipient}
> > 
> > mx1# ll /var/spool/snfilter/sniffer
> > -rwxrwxrwx  1 snfilter  snfilter  4013 Sep 29 20:54 
> > /var/spool/snfilter/sniffer
> 
> Why is your PROGRAM file WRITABLE?
> 
> > sniffer contains:
> > 
> > #!/bin/sh
> ...
> > 
> > Sep 29 21:06:56 mx1 postfix/pipe[6872]: 251A55C05A: to=<[EMAIL PROTECTED]>, 
> > relay=snfilter, delay=968, delays=968/0.04/0/0.08, dsn=4.3.0, 
> > status=deferred (temporary failure. Command output: pipe: fatal: 
> > pipe_command: execvp /var/spool/snfilter/sniffer: No such file or directory 
> > )
> > 
> > we've "-v" everything in master.cf and got no hints
> > 
> > suggestions?
> 
> Turn off Selinux.
> 
> Turn off Apparmor.
> 
> Turn off other "security" software that interferes with Postfix.

What on FreeBSD 6.3 could be doing this? 

Maybe you can insert a ktrace command:

snfilter  unix  -       n       n       -       10      pipe       
      flags=q user=snfilter argv=/usr/bin/ktrace -f /tmp/ktrace.out 
      /var/spool/snfilter/sniffer -f ${sender} ${recipient}

Then report output from:

# kdump -f /tmp/ktrace.out

(you may instead use truss or strace, but these require that /proc
is mounted, which is off by default on FreeBSD 5 and later).

        Wietse

Reply via email to