From: Laurence Moughan (no email)
Date: Tue Jul 13 2004 - 04:45:17 EDT
Thanks Magnus - exactly what i need.
>>> 12/07/04 17:00:22 >>>
On Monday, July 12, 2004 at 17:33 CEST,
Laurence Moughan <> wrote:
> master.cf
> serverml1:smtp inet n - n - - smtpd
> -o content_filter=dfilt:
>
> dfilt unix - n n - - pipe
> flags=Rq user=filter argv=/etc/postfix/footer.sh -f ${sender} --
> ${recipient}
>
> using altermime
>
> to
>
> /usr/local/bin/altermime --input=in.$$
> --disclaimer=/etc/postfix/footer.txt |
>
> to append txt to end of outbound mails
>
> Now this appends the footer to ALL outbound mails.
Note: Postfix has no concept of "inbound" and "outbound" mail.
> is it possible to restrict this to certain outbound mails by thier
> mail from: or reply to: address ?
Use the FILTER action in an access map (e.g. check_sender_access)
or in header_checks.
main.cf:
header_checks = pcre:/path/to/file
/path/to/file:
/^Reply-To: blah blah/ FILTER dfilt:
-- Magnus Bäck For low fares and great deals on hotels, car hire and travel insurance visit http://www.aerlingus.com ******************************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any review, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.If you have received this email in error please notify the sender immediately and delete the material. *******************************************************************************
|
|
|