PDA

View Full Version : Postfix Disclaimer


yasantha
27th March 2009, 12:40
I followed the following document to setup a disclaimer to my mail server.
http://www.howtoforge.com/add-disclaimers-to-outgoing-emails-with-altermime-postfix-debian-etch

My server os is Centos 4.6. I followed the instructions perfectly. but after everything is done, the mails get returned (Undelivered Mail Returned to Sender) with the error

service unavailable. Command output:
mime_alter.c:2192:AM_insert_Xheader:NOTICE: Adjusting temp file name for
header insert

Several error are coming to maillog too. Is there any other method to setup a disclaimer to postfix on Centos. Has anyone encountered this problem.

Thanks

topdog
27th March 2009, 15:05
If you are using postfix versions from 2.4.x and above you can use milters to add disclaimers you can download my rpm package for disclaimer milter http://www.topdog-software.com/oss/disclaimer-milter/

yasantha
30th March 2009, 08:42
Thank you topdog. I downloaded it and tried to install. There is a dependancy problem.

# rpm -Uvh disclaimer-milter-0.7-1.i386.rpm
warning: disclaimer-milter-0.7-1.i386.rpm: V3 DSA signature: NOKEY, key ID 990dd808
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by disclaimer-milter-0.7-1.i386
rtld(GNU_HASH) is needed by disclaimer-milter-0.7-1.i386

How can I overcome this issue. And at the same time pls provide some instructions on howto configure this.

topdog
30th March 2009, 16:23
Centos 4.6 is really behind that is why you get that glibc error, you can grab the source rpm and rebuild it on your machine.

topdog
30th March 2009, 16:24
But with your version of centos i doubt that the postfix will support modification of messages by milters as even centos 5.x ships with only version 2.3.x which does not support body modifications by milters.