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. Paul Cocker TNT Post is the trading name for TNT Post UK Ltd (company number: 04417047), TNT Post (Doordrop Media) Ltd (00613278), TNT Post Scotland Ltd (05695897), TNT Post North Ltd (05701709), TNT Post South West Ltd (05983401), TNT Post Midlands Limited (6458167)and TNT Post London Limited (6493826). Emma's Diary and Lifecycle are trading names for Lifecycle Marketing (Mother and Baby) Ltd (02556692). All companies are registered in England and Wales; registered address: 1 Globeside Business Park, Fieldhouse Lane, Marlow, Buckinghamshire, SL7 1HY.