Hello everyone. We are using postfix to deliver mail sent from users in a 
Windows domain through Exchange, using Exchange's Smart host feature to relay 
all mail sent to "[email protected]".

The email then gets fed to Request Tracker, a popular Helpdesk software, which 
itself uses a perl script called rt-mailgate which is called from /etc/aliases.

The issue is that all mails sent through Exchange have their bodies appended 
with several lines of text. Exchange 2007 doesn't seem to be able to remove the 
disclaimer as an exception if the mail account isn't in the Active Directory 
contact database, so i am stuck trying to figure out if i can filter the text 
from every email sent to the account above.

I have read the Postfix Content Inspection document, and i don't have clear if 
i need a before queue (light or medium weight), after queue, body_checks, 
sendmail's milter mechanism or another.

I just need mails from our Exchange Server sent to the email above (and other 
emails in the same format, [email protected]) to delete some specific 
lines from the body of the message before delivery to the rt-mailgate script 
called in /etc/aliases. I just need a pointer and maybe a basic example and i 
can take it from there.

Thanks in advance

Mgs. Francisco J. León <[email protected]>
Coordinador Apoyo a Usuarios - Informática
C.A. Seguros Catatumbo - Maracaibo, Venezuela
Telf: (0261) 700-5555 Ext. 1516


USO DEL CORREO ELECTRONICO DE SEGUROS CATATUMBO, C.A. HACIA INTERNET: Este 
mensaje y cualquier anexo pueden ser confidenciales o tener privilegios 
legales. Si usted recibe este mensaje por error o no es su destinatario, deberá 
notificar a [email protected] y eliminar el mensaje y cualquier 
anexo o copias. Está prohibida su distribución, divulgación o utilización de 
cualquier información contenida en el mismo.

SEGUROS CATATUMBO, C.A.: This message may contain information solely of the 
interest of SEGUROS CATATUMBO, C.A. or its businesses. Copying, distribution, 
disclosure or any use of the information contained in this message is permitted 
only to authorized parties. If you have received this e-mail by error, please 
notify [email protected].
--------------------------------------------------------------------------------------------------------------------
Por favor, no imprima este e-mail a menos que realmente necesite hacerlo.
Please, don't print this e-mail unless you really need to.

Reply via email to