OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: AlterMIME

From: Kirk Bocek (t004kbocek.com)
Date: Fri May 09 2008 - 15:04:22 CDT


Wietse Venema wrote:
> Kirk Bocek:
>> After suggestions from Bill Cole, mousse and others, I'm trying to get
>> AlterMIME working with postfix 2.3. I've followed the instructions at:
>>
>> http://howtoforge.com/add-disclaimers-to-outgoing-emails-with-altermime-postfix-debian-etch
>>
>> but somehow the script that calls AlterMIME simply isn't executed. The parts I
>> think are relevant in master.cf:
>>
>> smtp unix - - n - - smtp
>> -o content_filter=myfilt:
>
> This means the filter executes only for SMTP mail. Not for local
> /usr/sin/sendmail submission.
>
> See FILTER_README or http://www.postfix.org/FILTER_README.html for
> details.
>
> Wietse

Got it. I put the "-o" line after the *second* smtp line in master.cf. I
should have put it after the *first*:

        smtp inet n - n - - smtpd
                     -o content_filter=myfilt:

Thanks for the help.

Kirk Bocek