Paul Cocker: > I'm trying to setup disclaimers for e-mails using altermime. I've found > a guide - > http://www.howtoforge.com/add-disclaimers-to-outgoing-emails-with-alterm > ime-postfix-debian-etch, and have set everything up accordingly. > > I've added the following lines to master.cf > > smtp inet n - n - - smtpd > -o content_filter=dfilt: > > dfilt unix - n n - - pipe > flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} -- > ${recipient} > > And the following files has been created > > -rwxr-x--- 1 root filter 781 Oct 13 08:50 /etc/postfix/disclaimer > > User exists: > > filter:x:100:101:Postfix Filters:/var/spool/filter:/bin/bash (I assume > the shell can change, but I want a successful test first) > > Groups: > > filter:x:101: > > However, e-mail in the queue generates the following error: > > Oct 17 10:50:36 server postfix/pipe[3004]: EE5DA1F80042: > [EMAIL PROTECTED], relay=dfilt, delay=72945, delays=72945/0/0/0.01, > dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: > fatal: pipe_command: execvp /etc/postfix/disclaimer: Permission denied ) > > I tried a chmod 777 on the disclaimer file, but it doesn't make a > difference, so clearly something more fundamental is wrong, but I don't > know what.
Try: SELINUX, APPARMOR, and so on. Wietse